minesweeper/pom.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Mon, 10 Feb 2014 16:50:08 +0100
branchminesweeper
changeset 79 03bec9dcc860
parent 63 56477205fdb5
child 81 0d274f085dac
permissions -rw-r--r--
Play a sound when a square in the minefield is made visible
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@79
    76
        <groupId>org.netbeans.html</groupId>
jtulach@79
    77
        <artifactId>net.java.html.sound</artifactId>
jtulach@79
    78
        <version>${net.java.html.version}</version>
jtulach@79
    79
    </dependency>
jtulach@79
    80
    <dependency>
jtulach@63
    81
      <groupId>org.testng</groupId>
jtulach@63
    82
      <artifactId>testng</artifactId>
jtulach@63
    83
      <version>6.7</version>
jtulach@63
    84
      <scope>test</scope>
jtulach@63
    85
    </dependency>
jtulach@63
    86
  </dependencies>
jtulach@63
    87
  <profiles>
jtulach@63
    88
      <profile>
jtulach@63
    89
          <id>fxbrwsr</id>
jtulach@63
    90
          <activation>
jtulach@63
    91
              <activeByDefault>true</activeByDefault>
jtulach@63
    92
          </activation>
jtulach@63
    93
          <build>
jtulach@63
    94
            <plugins>
jtulach@63
    95
                <plugin>
jtulach@63
    96
                    <artifactId>maven-assembly-plugin</artifactId>
jtulach@63
    97
                    <version>2.4</version>
jtulach@63
    98
                    <executions>
jtulach@63
    99
                        <execution>
jtulach@63
   100
                            <id>distro-assembly</id>
jtulach@63
   101
                            <phase>package</phase>
jtulach@63
   102
                            <goals>
jtulach@63
   103
                                <goal>single</goal>
jtulach@63
   104
                            </goals>
jtulach@63
   105
                            <configuration>
jtulach@63
   106
                                <descriptors>
jtulach@63
   107
                                    <descriptor>src/main/assembly/html.java.net.xml</descriptor>
jtulach@63
   108
                                </descriptors>
jtulach@63
   109
                            </configuration>
jtulach@63
   110
                        </execution>
jtulach@63
   111
                    </executions>                
jtulach@63
   112
                </plugin>      
jtulach@63
   113
            </plugins>
jtulach@63
   114
          </build>
jtulach@63
   115
          <dependencies>
jtulach@63
   116
            <dependency>
jtulach@63
   117
                <groupId>org.netbeans.html</groupId>
jtulach@63
   118
                <artifactId>ko4j</artifactId>
jtulach@63
   119
                <version>${net.java.html.version}</version>
jtulach@63
   120
                <scope>runtime</scope>
jtulach@63
   121
            </dependency>
jtulach@63
   122
            <dependency>
jtulach@63
   123
                <groupId>org.netbeans.html</groupId>
jtulach@63
   124
                <artifactId>net.java.html.boot.fx</artifactId>
jtulach@63
   125
                <version>${net.java.html.version}</version>
jtulach@63
   126
                <scope>runtime</scope>
jtulach@63
   127
            </dependency>
jtulach@63
   128
          </dependencies>
jtulach@63
   129
      </profile>
jtulach@63
   130
      <profile>
jtulach@63
   131
          <id>bck2brwsr</id>
jtulach@63
   132
          <activation>
jtulach@63
   133
              <property>
jtulach@63
   134
                  <name>brwsr</name>
jtulach@63
   135
                  <value>bck2brwsr</value>
jtulach@63
   136
              </property>
jtulach@63
   137
          </activation>
jtulach@63
   138
          <build>
jtulach@63
   139
              <plugins>
jtulach@63
   140
                  <plugin>
jtulach@63
   141
                      <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@63
   142
                      <artifactId>bck2brwsr-maven-plugin</artifactId>
jtulach@63
   143
                      <version>${bck2brwsr.version}</version>
jtulach@63
   144
                      <executions>
jtulach@63
   145
                          <execution>
jtulach@63
   146
                              <goals>
jtulach@63
   147
                                  <goal>brwsr</goal>
jtulach@63
   148
                              </goals>
jtulach@63
   149
                          </execution>
jtulach@63
   150
                      </executions>
jtulach@63
   151
                      <configuration>
jtulach@63
   152
                          <directory>${basedir}/src/main/webapp/</directory>
jtulach@63
   153
                          <startpage>${brwsr.startpage}</startpage>
jtulach@63
   154
                      </configuration>
jtulach@63
   155
                  </plugin>
jtulach@63
   156
                  <plugin>
jtulach@63
   157
                      <groupId>org.apache.maven.plugins</groupId>
jtulach@63
   158
                      <artifactId>maven-compiler-plugin</artifactId>
jtulach@63
   159
                      <configuration>
jtulach@63
   160
                          <compilerArguments>
jtulach@63
   161
                              <bootclasspath>netbeans.ignore.jdk.bootclasspath</bootclasspath>
jtulach@63
   162
                          </compilerArguments>
jtulach@63
   163
                      </configuration>
jtulach@63
   164
                  </plugin>
jtulach@63
   165
                  <plugin>
jtulach@63
   166
                      <artifactId>maven-assembly-plugin</artifactId>
jtulach@63
   167
                      <version>2.4</version>
jtulach@63
   168
                      <executions>
jtulach@63
   169
                          <execution>
jtulach@63
   170
                              <id>distro-assembly</id>
jtulach@63
   171
                              <phase>package</phase>
jtulach@63
   172
                              <goals>
jtulach@63
   173
                                  <goal>single</goal>
jtulach@63
   174
                              </goals>
jtulach@63
   175
                              <configuration>
jtulach@63
   176
                                  <descriptors>
jtulach@63
   177
                                      <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
jtulach@63
   178
                                  </descriptors>
jtulach@63
   179
                              </configuration>
jtulach@63
   180
                          </execution>
jtulach@63
   181
                      </executions>                
jtulach@63
   182
                  </plugin>      
jtulach@63
   183
              </plugins>
jtulach@63
   184
          </build>
jtulach@63
   185
          <dependencies>
jtulach@63
   186
              <dependency>
jtulach@63
   187
                  <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@63
   188
                  <artifactId>emul</artifactId>
jtulach@63
   189
                  <version>${bck2brwsr.version}</version>
jtulach@63
   190
                  <classifier>rt</classifier>
jtulach@63
   191
              </dependency>
jtulach@63
   192
              <dependency>
jtulach@63
   193
                  <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@63
   194
                  <artifactId>ko-bck2brwsr</artifactId>
jtulach@63
   195
                  <version>${bck2brwsr.version}</version>
jtulach@63
   196
                  <scope>runtime</scope>
jtulach@63
   197
              </dependency>
jtulach@63
   198
              <dependency>
jtulach@63
   199
                  <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@63
   200
                  <artifactId>vm4brwsr</artifactId>
jtulach@63
   201
                  <classifier>js</classifier>
jtulach@63
   202
                  <type>zip</type>
jtulach@63
   203
                  <version>${bck2brwsr.version}</version>
jtulach@63
   204
                  <scope>provided</scope>
jtulach@63
   205
              </dependency>
jtulach@63
   206
          </dependencies>
jtulach@63
   207
      </profile>
jtulach@63
   208
  </profiles>  
jtulach@63
   209
</project>