emailer/pom.xml
branchscala-emailer
changeset 157 1f49195b49e8
parent 154 d9d5376d5f23
child 186 47e21a031490
     1.1 --- a/emailer/pom.xml	Thu Nov 26 20:20:33 2009 +0100
     1.2 +++ b/emailer/pom.xml	Sun Nov 29 19:28:15 2009 +0100
     1.3 @@ -33,7 +33,39 @@
     1.4            </args>
     1.5          </configuration>
     1.6        </plugin>
     1.7 -    </plugins>
     1.8 +      <plugin>
     1.9 +          <artifactId>maven-assembly-plugin</artifactId>
    1.10 +          <version>2.2-beta-2</version>
    1.11 +          <executions>
    1.12 +              <execution>
    1.13 +                  <id>create-executable-jar</id>
    1.14 +                  <phase>package</phase>
    1.15 +                  <goals>
    1.16 +                      <goal>single</goal>
    1.17 +                  </goals>
    1.18 +                  <configuration>
    1.19 +                      <descriptors>
    1.20 +                          <descriptor>all-zip.xml</descriptor>
    1.21 +                      </descriptors>
    1.22 +                      <finalName>emailer-${version}</finalName>
    1.23 +                  </configuration>
    1.24 +              </execution>
    1.25 +          </executions>
    1.26 +      </plugin>
    1.27 +      <plugin>
    1.28 +          <groupId>org.apache.maven.plugins</groupId>
    1.29 +          <artifactId>maven-jar-plugin</artifactId>
    1.30 +          <configuration>
    1.31 +              <archive>
    1.32 +                  <manifest>
    1.33 +                      <addClasspath>true</addClasspath>
    1.34 +                      <classpathPrefix>lib/</classpathPrefix>
    1.35 +                      <mainClass>cz.xelfi.quoridor.emailer.Main</mainClass>
    1.36 +                  </manifest>
    1.37 +              </archive>
    1.38 +          </configuration>
    1.39 +      </plugin>
    1.40 +  </plugins>
    1.41    </build>
    1.42    <repositories>
    1.43      <repository>
    1.44 @@ -67,13 +99,6 @@
    1.45        <version>1.2.5</version>
    1.46        <scope>test</scope>
    1.47      </dependency>
    1.48 -    <!--
    1.49 -    <dependency>
    1.50 -      <groupId>javax.mail</groupId>
    1.51 -      <artifactId>mail</artifactId>
    1.52 -      <version>1.4.2</version>
    1.53 -    </dependency>
    1.54 -    -->
    1.55      <dependency>
    1.56        <groupId>javax.mail</groupId>
    1.57        <artifactId>mail</artifactId>