minesweeper/pom.xml
branchminesweeper
changeset 63 56477205fdb5
child 79 03bec9dcc860
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/minesweeper/pom.xml	Fri Feb 07 14:47:07 2014 +0100
     1.3 @@ -0,0 +1,204 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     1.6 +  <modelVersion>4.0.0</modelVersion>
     1.7 +
     1.8 +  <groupId>org.apidesign.demo</groupId>
     1.9 +  <artifactId>minesweeper</artifactId>
    1.10 +  <version>1.0-SNAPSHOT</version>
    1.11 +  <packaging>jar</packaging>
    1.12 +  <parent>
    1.13 +      <artifactId>demo</artifactId>
    1.14 +      <groupId>org.apidesign.html</groupId>
    1.15 +      <version>1.0-SNAPSHOT</version>
    1.16 +  </parent>
    1.17 +
    1.18 +  <name>Mine Sweeper</name>
    1.19 +
    1.20 +  <properties>
    1.21 +    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    1.22 +    <brwsr.startpage>pages/index.html</brwsr.startpage>
    1.23 +    <project.mainclass>org.apidesign.demo.minesweeper.Main</project.mainclass>
    1.24 +    <netbeans.compile.on.save>none</netbeans.compile.on.save>
    1.25 +  </properties>
    1.26 +  <build>
    1.27 +      <plugins>
    1.28 +          <plugin>
    1.29 +              <groupId>org.apache.maven.plugins</groupId>
    1.30 +              <artifactId>maven-compiler-plugin</artifactId>
    1.31 +              <version>2.3.2</version>
    1.32 +              <configuration>
    1.33 +                  <source>1.6</source>
    1.34 +                  <target>1.6</target>
    1.35 +              </configuration>
    1.36 +          </plugin>
    1.37 +          <plugin>
    1.38 +              <groupId>org.apache.maven.plugins</groupId>
    1.39 +              <artifactId>maven-jar-plugin</artifactId>
    1.40 +              <version>2.4</version>
    1.41 +              <configuration>
    1.42 +                  <archive>
    1.43 +                      <manifest>
    1.44 +                          <mainClass>${project.mainclass}</mainClass>
    1.45 +                          <addClasspath>true</addClasspath>
    1.46 +                          <classpathPrefix>lib/</classpathPrefix>
    1.47 +                      </manifest>
    1.48 +                  </archive>
    1.49 +              </configuration>
    1.50 +          </plugin>
    1.51 +          <plugin>
    1.52 +              <groupId>org.codehaus.mojo</groupId>
    1.53 +              <artifactId>exec-maven-plugin</artifactId>
    1.54 +              <version>1.2.1</version>
    1.55 +              <configuration>
    1.56 +                  <systemProperties>
    1.57 +                      <systemProperty>
    1.58 +                          <key>browser.rootdir</key>
    1.59 +                          <value>${basedir}/src/main/webapp/</value>
    1.60 +                      </systemProperty>
    1.61 +                  </systemProperties>
    1.62 +                  <mainClass>${project.mainclass}</mainClass>
    1.63 +              </configuration>
    1.64 +          </plugin>      
    1.65 +      </plugins>
    1.66 +  </build>
    1.67 +  <dependencies>
    1.68 +    <dependency>
    1.69 +        <groupId>org.netbeans.html</groupId>
    1.70 +        <artifactId>net.java.html.json</artifactId>
    1.71 +        <version>${net.java.html.version}</version>
    1.72 +    </dependency>
    1.73 +    <dependency>
    1.74 +        <groupId>org.netbeans.html</groupId>
    1.75 +        <artifactId>net.java.html.boot</artifactId>
    1.76 +        <version>${net.java.html.version}</version>
    1.77 +    </dependency>
    1.78 +    <dependency>
    1.79 +      <groupId>org.testng</groupId>
    1.80 +      <artifactId>testng</artifactId>
    1.81 +      <version>6.7</version>
    1.82 +      <scope>test</scope>
    1.83 +    </dependency>
    1.84 +  </dependencies>
    1.85 +  <profiles>
    1.86 +      <profile>
    1.87 +          <id>fxbrwsr</id>
    1.88 +          <activation>
    1.89 +              <activeByDefault>true</activeByDefault>
    1.90 +          </activation>
    1.91 +          <build>
    1.92 +            <plugins>
    1.93 +                <plugin>
    1.94 +                    <artifactId>maven-assembly-plugin</artifactId>
    1.95 +                    <version>2.4</version>
    1.96 +                    <executions>
    1.97 +                        <execution>
    1.98 +                            <id>distro-assembly</id>
    1.99 +                            <phase>package</phase>
   1.100 +                            <goals>
   1.101 +                                <goal>single</goal>
   1.102 +                            </goals>
   1.103 +                            <configuration>
   1.104 +                                <descriptors>
   1.105 +                                    <descriptor>src/main/assembly/html.java.net.xml</descriptor>
   1.106 +                                </descriptors>
   1.107 +                            </configuration>
   1.108 +                        </execution>
   1.109 +                    </executions>                
   1.110 +                </plugin>      
   1.111 +            </plugins>
   1.112 +          </build>
   1.113 +          <dependencies>
   1.114 +            <dependency>
   1.115 +                <groupId>org.netbeans.html</groupId>
   1.116 +                <artifactId>ko4j</artifactId>
   1.117 +                <version>${net.java.html.version}</version>
   1.118 +                <scope>runtime</scope>
   1.119 +            </dependency>
   1.120 +            <dependency>
   1.121 +                <groupId>org.netbeans.html</groupId>
   1.122 +                <artifactId>net.java.html.boot.fx</artifactId>
   1.123 +                <version>${net.java.html.version}</version>
   1.124 +                <scope>runtime</scope>
   1.125 +            </dependency>
   1.126 +          </dependencies>
   1.127 +      </profile>
   1.128 +      <profile>
   1.129 +          <id>bck2brwsr</id>
   1.130 +          <activation>
   1.131 +              <property>
   1.132 +                  <name>brwsr</name>
   1.133 +                  <value>bck2brwsr</value>
   1.134 +              </property>
   1.135 +          </activation>
   1.136 +          <build>
   1.137 +              <plugins>
   1.138 +                  <plugin>
   1.139 +                      <groupId>org.apidesign.bck2brwsr</groupId>
   1.140 +                      <artifactId>bck2brwsr-maven-plugin</artifactId>
   1.141 +                      <version>${bck2brwsr.version}</version>
   1.142 +                      <executions>
   1.143 +                          <execution>
   1.144 +                              <goals>
   1.145 +                                  <goal>brwsr</goal>
   1.146 +                              </goals>
   1.147 +                          </execution>
   1.148 +                      </executions>
   1.149 +                      <configuration>
   1.150 +                          <directory>${basedir}/src/main/webapp/</directory>
   1.151 +                          <startpage>${brwsr.startpage}</startpage>
   1.152 +                      </configuration>
   1.153 +                  </plugin>
   1.154 +                  <plugin>
   1.155 +                      <groupId>org.apache.maven.plugins</groupId>
   1.156 +                      <artifactId>maven-compiler-plugin</artifactId>
   1.157 +                      <configuration>
   1.158 +                          <compilerArguments>
   1.159 +                              <bootclasspath>netbeans.ignore.jdk.bootclasspath</bootclasspath>
   1.160 +                          </compilerArguments>
   1.161 +                      </configuration>
   1.162 +                  </plugin>
   1.163 +                  <plugin>
   1.164 +                      <artifactId>maven-assembly-plugin</artifactId>
   1.165 +                      <version>2.4</version>
   1.166 +                      <executions>
   1.167 +                          <execution>
   1.168 +                              <id>distro-assembly</id>
   1.169 +                              <phase>package</phase>
   1.170 +                              <goals>
   1.171 +                                  <goal>single</goal>
   1.172 +                              </goals>
   1.173 +                              <configuration>
   1.174 +                                  <descriptors>
   1.175 +                                      <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
   1.176 +                                  </descriptors>
   1.177 +                              </configuration>
   1.178 +                          </execution>
   1.179 +                      </executions>                
   1.180 +                  </plugin>      
   1.181 +              </plugins>
   1.182 +          </build>
   1.183 +          <dependencies>
   1.184 +              <dependency>
   1.185 +                  <groupId>org.apidesign.bck2brwsr</groupId>
   1.186 +                  <artifactId>emul</artifactId>
   1.187 +                  <version>${bck2brwsr.version}</version>
   1.188 +                  <classifier>rt</classifier>
   1.189 +              </dependency>
   1.190 +              <dependency>
   1.191 +                  <groupId>org.apidesign.bck2brwsr</groupId>
   1.192 +                  <artifactId>ko-bck2brwsr</artifactId>
   1.193 +                  <version>${bck2brwsr.version}</version>
   1.194 +                  <scope>runtime</scope>
   1.195 +              </dependency>
   1.196 +              <dependency>
   1.197 +                  <groupId>org.apidesign.bck2brwsr</groupId>
   1.198 +                  <artifactId>vm4brwsr</artifactId>
   1.199 +                  <classifier>js</classifier>
   1.200 +                  <type>zip</type>
   1.201 +                  <version>${bck2brwsr.version}</version>
   1.202 +                  <scope>provided</scope>
   1.203 +              </dependency>
   1.204 +          </dependencies>
   1.205 +      </profile>
   1.206 +  </profiles>  
   1.207 +</project>