minesweeper/pom.xml
branchibrwsr
changeset 138 f4d6b81c2f07
parent 134 dad4f0d41b9f
parent 133 44dc6718b54f
child 147 69ff76aa9280
     1.1 --- a/minesweeper/pom.xml	Thu Apr 24 12:37:28 2014 +0200
     1.2 +++ b/minesweeper/pom.xml	Fri Apr 25 12:55:40 2014 +0200
     1.3 @@ -4,7 +4,7 @@
     1.4  
     1.5    <groupId>org.apidesign.demo</groupId>
     1.6    <artifactId>minesweeper</artifactId>
     1.7 -  <version>1.0-SNAPSHOT</version>
     1.8 +  <version>2.0-SNAPSHOT</version>
     1.9    <packaging>jar</packaging>
    1.10    <parent>
    1.11        <artifactId>demo</artifactId>
    1.12 @@ -13,7 +13,15 @@
    1.13    </parent>
    1.14  
    1.15    <name>Mine Sweeper</name>
    1.16 -
    1.17 +  <description>
    1.18 +      Demonstration of DukeScript rendering technology.
    1.19 +      Plus old, good, simple and entertaining game.
    1.20 +      Improve your coding skills by playing a game and 
    1.21 +      meanwhile learn what a rendering technology of the
    1.22 +      future is going to look like. Learn to use DukeScript:
    1.23 +      Write once, display (and deploy) anywhere!
    1.24 +  </description>
    1.25 +  <url>http://html.java.net/</url>
    1.26    <properties>
    1.27      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    1.28      <brwsr.startpage>pages/index.html</brwsr.startpage>
    1.29 @@ -33,30 +41,6 @@
    1.30            </plugin>
    1.31            <plugin>
    1.32                <groupId>org.apache.maven.plugins</groupId>
    1.33 -              <artifactId>maven-resources-plugin</artifactId>
    1.34 -              <version>2.6</version>
    1.35 -              <executions>
    1.36 -                  <execution>
    1.37 -                      <id>copy-resources</id>
    1.38 -                      <!-- here the phase you need -->
    1.39 -                      <phase>process-resources</phase>
    1.40 -                      <goals>
    1.41 -                          <goal>copy-resources</goal>
    1.42 -                      </goals>
    1.43 -                      <configuration>
    1.44 -                          <outputDirectory>${basedir}/target/classes/org/apidesign/demo/minesweeper/</outputDirectory>
    1.45 -                          <resources>          
    1.46 -                              <resource>
    1.47 -                                  <directory>src/main/webapp/</directory>
    1.48 -                                  <filtering>true</filtering>
    1.49 -                              </resource>
    1.50 -                          </resources>              
    1.51 -                      </configuration>            
    1.52 -                  </execution>
    1.53 -              </executions>
    1.54 -          </plugin>
    1.55 -          <plugin>
    1.56 -              <groupId>org.apache.maven.plugins</groupId>
    1.57                <artifactId>maven-jar-plugin</artifactId>
    1.58                <version>2.4</version>
    1.59                <configuration>
    1.60 @@ -133,6 +117,20 @@
    1.61            <build>
    1.62              <plugins>
    1.63                  <plugin>
    1.64 +                    <groupId>org.apache.maven.plugins</groupId>
    1.65 +                    <artifactId>maven-jar-plugin</artifactId>
    1.66 +                    <version>2.4</version>
    1.67 +                    <configuration>
    1.68 +                        <archive>
    1.69 +                            <manifest>
    1.70 +                                <mainClass>${project.mainclass}</mainClass>
    1.71 +                                <addClasspath>true</addClasspath>
    1.72 +                                <classpathPrefix>lib/</classpathPrefix>
    1.73 +                            </manifest>
    1.74 +                        </archive>
    1.75 +                    </configuration>
    1.76 +                </plugin>
    1.77 +                <plugin>
    1.78                      <artifactId>maven-assembly-plugin</artifactId>
    1.79                      <version>2.4</version>
    1.80                      <executions>
    1.81 @@ -172,6 +170,20 @@
    1.82            <build>
    1.83                <plugins>
    1.84                    <plugin>
    1.85 +                      <groupId>org.apache.maven.plugins</groupId>
    1.86 +                      <artifactId>maven-jar-plugin</artifactId>
    1.87 +                      <version>2.4</version>
    1.88 +                      <configuration>
    1.89 +                          <archive>
    1.90 +                              <manifest>
    1.91 +                                  <mainClass>${project.mainclass}</mainClass>
    1.92 +                                  <addClasspath>true</addClasspath>
    1.93 +                                  <classpathPrefix>lib/</classpathPrefix>
    1.94 +                              </manifest>
    1.95 +                          </archive>
    1.96 +                      </configuration>
    1.97 +                  </plugin>
    1.98 +                  <plugin>
    1.99                        <groupId>org.apidesign.bck2brwsr</groupId>
   1.100                        <artifactId>bck2brwsr-maven-plugin</artifactId>
   1.101                        <version>${bck2brwsr.version}</version>
   1.102 @@ -489,7 +501,7 @@
   1.103                                <configuration>
   1.104                                    <useOSGiDependencies>true</useOSGiDependencies>
   1.105                                    <brandingToken>html4j4nb</brandingToken>
   1.106 -                                  <cluster>html4j4nb</cluster>
   1.107 +                                  <cluster>extra</cluster>
   1.108                                    <verifyIntegrity>false</verifyIntegrity>
   1.109                                </configuration>
   1.110                            </execution>                       
   1.111 @@ -501,7 +513,7 @@
   1.112                                </goals>
   1.113                                <configuration>
   1.114                                    <useOSGiDependencies>true</useOSGiDependencies>
   1.115 -                                  <cluster>html4j4nb</cluster>
   1.116 +                                  <cluster>extra</cluster>
   1.117                                    <verifyIntegrity>false</verifyIntegrity>
   1.118                                </configuration>
   1.119                            </execution>