webidor/pom.xml
changeset 121 95dfb04fcee1
parent 115 6a80463a74c0
child 122 e0ecef0c421b
     1.1 --- a/webidor/pom.xml	Mon Sep 28 14:42:19 2009 +0200
     1.2 +++ b/webidor/pom.xml	Sun Oct 11 14:20:19 2009 +0200
     1.3 @@ -5,7 +5,7 @@
     1.4          <artifactId>all-quoridor</artifactId>
     1.5          <groupId>org.apidesign</groupId>
     1.6          <version>1.0</version>
     1.7 -    </parent>
     1.8 +  </parent>
     1.9    <groupId>org.apidesign</groupId>
    1.10    <artifactId>webidor</artifactId>
    1.11    <packaging>jar</packaging>
    1.12 @@ -88,7 +88,39 @@
    1.13          <groupId>org.codehaus.mojo</groupId>
    1.14          <artifactId>exec-maven-plugin</artifactId>
    1.15          <configuration>
    1.16 -            <mainClass>cz.xelfi.quoridor.webidor.Quoridor</mainClass>
    1.17 +            <mainClass>cz.xelfi.quoridor.webidor.resources.Quoridor</mainClass>
    1.18 +        </configuration>
    1.19 +      </plugin>
    1.20 +      <plugin>
    1.21 +        <artifactId>maven-assembly-plugin</artifactId>
    1.22 +        <version>2.2-beta-2</version>
    1.23 +        <executions>
    1.24 +          <execution>
    1.25 +            <id>create-executable-jar</id>
    1.26 +            <phase>package</phase>
    1.27 +            <goals>
    1.28 +              <goal>single</goal>
    1.29 +            </goals>
    1.30 +            <configuration>
    1.31 +              <descriptors>
    1.32 +                <descriptor>all-zip.xml</descriptor>
    1.33 +              </descriptors>
    1.34 +              <finalName>webidor-${version}</finalName>
    1.35 +            </configuration>
    1.36 +          </execution>
    1.37 +        </executions>
    1.38 +      </plugin>
    1.39 +      <plugin>
    1.40 +        <groupId>org.apache.maven.plugins</groupId>
    1.41 +        <artifactId>maven-jar-plugin</artifactId>
    1.42 +        <configuration>
    1.43 +            <archive>
    1.44 +                <manifest>
    1.45 +                    <addClasspath>true</addClasspath>
    1.46 +                    <classpathPrefix>lib/</classpathPrefix>
    1.47 +                    <mainClass>cz.xelfi.quoridor.webidor.resources.Quoridor</mainClass>
    1.48 +                </manifest>
    1.49 +            </archive>
    1.50          </configuration>
    1.51        </plugin>
    1.52      </plugins>