minesweeper/pom.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Fri, 07 Feb 2014 14:47:07 +0100
branchminesweeper
changeset 63 56477205fdb5
child 79 03bec9dcc860
permissions -rw-r--r--
First version of a mine sweeper game
jtulach@63
     1
<?xml version="1.0" encoding="UTF-8"?>
jtulach@63
     2
<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">
jtulach@63
     3
  <modelVersion>4.0.0</modelVersion>
jtulach@63
     4
jtulach@63
     5
  <groupId>org.apidesign.demo</groupId>
jtulach@63
     6
  <artifactId>minesweeper</artifactId>
jtulach@63
     7
  <version>1.0-SNAPSHOT</version>
jtulach@63
     8
  <packaging>jar</packaging>
jtulach@63
     9
  <parent>
jtulach@63
    10
      <artifactId>demo</artifactId>
jtulach@63
    11
      <groupId>org.apidesign.html</groupId>
jtulach@63
    12
      <version>1.0-SNAPSHOT</version>
jtulach@63
    13
  </parent>
jtulach@63
    14
jtulach@63
    15
  <name>Mine Sweeper</name>
jtulach@63
    16
jtulach@63
    17
  <properties>
jtulach@63
    18
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
jtulach@63
    19
    <brwsr.startpage>pages/index.html</brwsr.startpage>
jtulach@63
    20
    <project.mainclass>org.apidesign.demo.minesweeper.Main</project.mainclass>
jtulach@63
    21
    <netbeans.compile.on.save>none</netbeans.compile.on.save>
jtulach@63
    22
  </properties>
jtulach@63
    23
  <build>
jtulach@63
    24
      <plugins>
jtulach@63
    25
          <plugin>
jtulach@63
    26
              <groupId>org.apache.maven.plugins</groupId>
jtulach@63
    27
              <artifactId>maven-compiler-plugin</artifactId>
jtulach@63
    28
              <version>2.3.2</version>
jtulach@63
    29
              <configuration>
jtulach@63
    30
                  <source>1.6</source>
jtulach@63
    31
                  <target>1.6</target>
jtulach@63
    32
              </configuration>
jtulach@63
    33
          </plugin>
jtulach@63
    34
          <plugin>
jtulach@63
    35
              <groupId>org.apache.maven.plugins</groupId>
jtulach@63
    36
              <artifactId>maven-jar-plugin</artifactId>
jtulach@63
    37
              <version>2.4</version>
jtulach@63
    38
              <configuration>
jtulach@63
    39
                  <archive>
jtulach@63
    40
                      <manifest>
jtulach@63
    41
                          <mainClass>${project.mainclass}</mainClass>
jtulach@63
    42
                          <addClasspath>true</addClasspath>
jtulach@63
    43
                          <classpathPrefix>lib/</classpathPrefix>
jtulach@63
    44
                      </manifest>
jtulach@63
    45
                  </archive>
jtulach@63
    46
              </configuration>
jtulach@63
    47
          </plugin>
jtulach@63
    48
          <plugin>
jtulach@63
    49
              <groupId>org.codehaus.mojo</groupId>
jtulach@63
    50
              <artifactId>exec-maven-plugin</artifactId>
jtulach@63
    51
              <version>1.2.1</version>
jtulach@63
    52
              <configuration>
jtulach@63
    53
                  <systemProperties>
jtulach@63
    54
                      <systemProperty>
jtulach@63
    55
                          <key>browser.rootdir</key>
jtulach@63
    56
                          <value>${basedir}/src/main/webapp/</value>
jtulach@63
    57
                      </systemProperty>
jtulach@63
    58
                  </systemProperties>
jtulach@63
    59
                  <mainClass>${project.mainclass}</mainClass>
jtulach@63
    60
              </configuration>
jtulach@63
    61
          </plugin>      
jtulach@63
    62
      </plugins>
jtulach@63
    63
  </build>
jtulach@63
    64
  <dependencies>
jtulach@63
    65
    <dependency>
jtulach@63
    66
        <groupId>org.netbeans.html</groupId>
jtulach@63
    67
        <artifactId>net.java.html.json</artifactId>
jtulach@63
    68
        <version>${net.java.html.version}</version>
jtulach@63
    69
    </dependency>
jtulach@63
    70
    <dependency>
jtulach@63
    71
        <groupId>org.netbeans.html</groupId>
jtulach@63
    72
        <artifactId>net.java.html.boot</artifactId>
jtulach@63
    73
        <version>${net.java.html.version}</version>
jtulach@63
    74
    </dependency>
jtulach@63
    75
    <dependency>
jtulach@63
    76
      <groupId>org.testng</groupId>
jtulach@63
    77
      <artifactId>testng</artifactId>
jtulach@63
    78
      <version>6.7</version>
jtulach@63
    79
      <scope>test</scope>
jtulach@63
    80
    </dependency>
jtulach@63
    81
  </dependencies>
jtulach@63
    82
  <profiles>
jtulach@63
    83
      <profile>
jtulach@63
    84
          <id>fxbrwsr</id>
jtulach@63
    85
          <activation>
jtulach@63
    86
              <activeByDefault>true</activeByDefault>
jtulach@63
    87
          </activation>
jtulach@63
    88
          <build>
jtulach@63
    89
            <plugins>
jtulach@63
    90
                <plugin>
jtulach@63
    91
                    <artifactId>maven-assembly-plugin</artifactId>
jtulach@63
    92
                    <version>2.4</version>
jtulach@63
    93
                    <executions>
jtulach@63
    94
                        <execution>
jtulach@63
    95
                            <id>distro-assembly</id>
jtulach@63
    96
                            <phase>package</phase>
jtulach@63
    97
                            <goals>
jtulach@63
    98
                                <goal>single</goal>
jtulach@63
    99
                            </goals>
jtulach@63
   100
                            <configuration>
jtulach@63
   101
                                <descriptors>
jtulach@63
   102
                                    <descriptor>src/main/assembly/html.java.net.xml</descriptor>
jtulach@63
   103
                                </descriptors>
jtulach@63
   104
                            </configuration>
jtulach@63
   105
                        </execution>
jtulach@63
   106
                    </executions>                
jtulach@63
   107
                </plugin>      
jtulach@63
   108
            </plugins>
jtulach@63
   109
          </build>
jtulach@63
   110
          <dependencies>
jtulach@63
   111
            <dependency>
jtulach@63
   112
                <groupId>org.netbeans.html</groupId>
jtulach@63
   113
                <artifactId>ko4j</artifactId>
jtulach@63
   114
                <version>${net.java.html.version}</version>
jtulach@63
   115
                <scope>runtime</scope>
jtulach@63
   116
            </dependency>
jtulach@63
   117
            <dependency>
jtulach@63
   118
                <groupId>org.netbeans.html</groupId>
jtulach@63
   119
                <artifactId>net.java.html.boot.fx</artifactId>
jtulach@63
   120
                <version>${net.java.html.version}</version>
jtulach@63
   121
                <scope>runtime</scope>
jtulach@63
   122
            </dependency>
jtulach@63
   123
          </dependencies>
jtulach@63
   124
      </profile>
jtulach@63
   125
      <profile>
jtulach@63
   126
          <id>bck2brwsr</id>
jtulach@63
   127
          <activation>
jtulach@63
   128
              <property>
jtulach@63
   129
                  <name>brwsr</name>
jtulach@63
   130
                  <value>bck2brwsr</value>
jtulach@63
   131
              </property>
jtulach@63
   132
          </activation>
jtulach@63
   133
          <build>
jtulach@63
   134
              <plugins>
jtulach@63
   135
                  <plugin>
jtulach@63
   136
                      <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@63
   137
                      <artifactId>bck2brwsr-maven-plugin</artifactId>
jtulach@63
   138
                      <version>${bck2brwsr.version}</version>
jtulach@63
   139
                      <executions>
jtulach@63
   140
                          <execution>
jtulach@63
   141
                              <goals>
jtulach@63
   142
                                  <goal>brwsr</goal>
jtulach@63
   143
                              </goals>
jtulach@63
   144
                          </execution>
jtulach@63
   145
                      </executions>
jtulach@63
   146
                      <configuration>
jtulach@63
   147
                          <directory>${basedir}/src/main/webapp/</directory>
jtulach@63
   148
                          <startpage>${brwsr.startpage}</startpage>
jtulach@63
   149
                      </configuration>
jtulach@63
   150
                  </plugin>
jtulach@63
   151
                  <plugin>
jtulach@63
   152
                      <groupId>org.apache.maven.plugins</groupId>
jtulach@63
   153
                      <artifactId>maven-compiler-plugin</artifactId>
jtulach@63
   154
                      <configuration>
jtulach@63
   155
                          <compilerArguments>
jtulach@63
   156
                              <bootclasspath>netbeans.ignore.jdk.bootclasspath</bootclasspath>
jtulach@63
   157
                          </compilerArguments>
jtulach@63
   158
                      </configuration>
jtulach@63
   159
                  </plugin>
jtulach@63
   160
                  <plugin>
jtulach@63
   161
                      <artifactId>maven-assembly-plugin</artifactId>
jtulach@63
   162
                      <version>2.4</version>
jtulach@63
   163
                      <executions>
jtulach@63
   164
                          <execution>
jtulach@63
   165
                              <id>distro-assembly</id>
jtulach@63
   166
                              <phase>package</phase>
jtulach@63
   167
                              <goals>
jtulach@63
   168
                                  <goal>single</goal>
jtulach@63
   169
                              </goals>
jtulach@63
   170
                              <configuration>
jtulach@63
   171
                                  <descriptors>
jtulach@63
   172
                                      <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
jtulach@63
   173
                                  </descriptors>
jtulach@63
   174
                              </configuration>
jtulach@63
   175
                          </execution>
jtulach@63
   176
                      </executions>                
jtulach@63
   177
                  </plugin>      
jtulach@63
   178
              </plugins>
jtulach@63
   179
          </build>
jtulach@63
   180
          <dependencies>
jtulach@63
   181
              <dependency>
jtulach@63
   182
                  <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@63
   183
                  <artifactId>emul</artifactId>
jtulach@63
   184
                  <version>${bck2brwsr.version}</version>
jtulach@63
   185
                  <classifier>rt</classifier>
jtulach@63
   186
              </dependency>
jtulach@63
   187
              <dependency>
jtulach@63
   188
                  <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@63
   189
                  <artifactId>ko-bck2brwsr</artifactId>
jtulach@63
   190
                  <version>${bck2brwsr.version}</version>
jtulach@63
   191
                  <scope>runtime</scope>
jtulach@63
   192
              </dependency>
jtulach@63
   193
              <dependency>
jtulach@63
   194
                  <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@63
   195
                  <artifactId>vm4brwsr</artifactId>
jtulach@63
   196
                  <classifier>js</classifier>
jtulach@63
   197
                  <type>zip</type>
jtulach@63
   198
                  <version>${bck2brwsr.version}</version>
jtulach@63
   199
                  <scope>provided</scope>
jtulach@63
   200
              </dependency>
jtulach@63
   201
          </dependencies>
jtulach@63
   202
      </profile>
jtulach@63
   203
  </profiles>  
jtulach@63
   204
</project>