chess/pom.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Sun, 12 Jan 2014 23:25:42 +0100
branchNbHtml4J
changeset 57 9984b9f7d8c6
parent 51 3f1866fdb2a1
child 60 f0ab62f65322
permissions -rw-r--r--
Adjusting to new naming scheme (which includes netbeans name)
jtulach@38
     1
<?xml version="1.0" encoding="UTF-8"?>
jtulach@38
     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@38
     3
  <modelVersion>4.0.0</modelVersion>
jaroslav@49
     4
    <parent>
jtulach@57
     5
        <artifactId>demo</artifactId>
jtulach@57
     6
        <groupId>org.apidesign.html</groupId>
jaroslav@49
     7
        <version>1.0-SNAPSHOT</version>
jaroslav@49
     8
    </parent>
jtulach@38
     9
jaroslav@51
    10
  <groupId>org.apidesign.html.demo</groupId>
jaroslav@51
    11
  <artifactId>chessdemo</artifactId>
jtulach@38
    12
  <version>1.0-SNAPSHOT</version>
jtulach@38
    13
  <packaging>jar</packaging>
jtulach@38
    14
jaroslav@49
    15
  <name>Chess_HTML_Java_Client</name>
jtulach@38
    16
jtulach@38
    17
  <repositories>
jtulach@38
    18
      <repository>
jtulach@38
    19
          <id>netbeans</id>
jtulach@38
    20
          <name>NetBeans</name>
jtulach@38
    21
          <url>http://bits.netbeans.org/maven2/</url>
jtulach@38
    22
      </repository>
jtulach@38
    23
  </repositories>
jtulach@38
    24
  <pluginRepositories>
jtulach@38
    25
      <pluginRepository>
jtulach@38
    26
          <id>ios</id>
jtulach@38
    27
          <name>NetBeans iOS Maven Plugin</name>
jtulach@38
    28
          <url>http://beetle.cz.oracle.com/~jtulach/maven/</url>
jtulach@38
    29
          <snapshots>
jtulach@38
    30
          </snapshots>
jtulach@38
    31
      </pluginRepository>
jtulach@38
    32
  </pluginRepositories>
jtulach@38
    33
jtulach@38
    34
  <properties>
jtulach@38
    35
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
jtulach@38
    36
    <netbeans.compile.on.save>none</netbeans.compile.on.save>
jtulach@57
    37
    <net.java.html.version>0.7-SNAPSHOT</net.java.html.version>
jtulach@57
    38
    <bck2brwsr.version>0.9-SNAPSHOT</bck2brwsr.version>
jtulach@57
    39
    <bck2brwsr.launcher.version>0.9-SNAPSHOT</bck2brwsr.launcher.version>
jaroslav@49
    40
    <bck2brwsr.obfuscationlevel>MINIMAL</bck2brwsr.obfuscationlevel>
jaroslav@49
    41
    <brwsr.startpage>pages/index.html</brwsr.startpage>
jtulach@38
    42
  </properties>
jtulach@38
    43
  <build>
jtulach@38
    44
      <plugins>
jtulach@38
    45
          <plugin>
jtulach@38
    46
              <groupId>org.apache.maven.plugins</groupId>
jtulach@38
    47
              <artifactId>maven-compiler-plugin</artifactId>
jtulach@38
    48
              <version>2.3.2</version>
jtulach@38
    49
              <configuration>
jtulach@38
    50
                  <source>1.7</source>
jtulach@38
    51
                  <target>1.7</target>
jtulach@38
    52
              </configuration>
jtulach@38
    53
          </plugin>
jtulach@38
    54
          <plugin>
jtulach@38
    55
              <groupId>org.apache.maven.plugins</groupId>
jtulach@38
    56
              <artifactId>maven-jar-plugin</artifactId>
jtulach@38
    57
              <version>2.4</version>
jtulach@38
    58
              <configuration>
jtulach@38
    59
                  <archive>
jtulach@38
    60
                      <manifest>
jtulach@57
    61
                          <mainClass>org.netbeans.html.demo.chess.Main</mainClass>
jtulach@38
    62
                          <addClasspath>true</addClasspath>
jtulach@38
    63
                          <classpathPrefix>lib/</classpathPrefix>
jtulach@38
    64
                      </manifest>
jtulach@38
    65
                  </archive>
jtulach@38
    66
              </configuration>
jtulach@38
    67
          </plugin>
jtulach@38
    68
          <plugin>
jtulach@38
    69
              <groupId>org.codehaus.mojo</groupId>
jtulach@38
    70
              <artifactId>exec-maven-plugin</artifactId>
jtulach@38
    71
              <version>1.2.1</version>
jtulach@38
    72
              <configuration>
jtulach@38
    73
                  <systemProperties>
jtulach@38
    74
                      <systemProperty>
jtulach@38
    75
                          <key>browser.rootdir</key>
jtulach@38
    76
                          <value>${basedir}/src/main/webapp/</value>
jtulach@38
    77
                      </systemProperty>
jtulach@38
    78
                  </systemProperties>
jtulach@57
    79
                  <mainClass>org.netbeans.html.demo.chess.Main</mainClass>
jtulach@38
    80
              </configuration>
jtulach@38
    81
          </plugin>      
jtulach@38
    82
          <plugin>
jtulach@38
    83
              <artifactId>maven-assembly-plugin</artifactId>
jtulach@38
    84
              <version>2.4</version>
jtulach@38
    85
              <executions>
jtulach@38
    86
                  <execution>
jtulach@38
    87
                      <id>distro-assembly</id>
jtulach@38
    88
                      <phase>package</phase>
jtulach@38
    89
                      <goals>
jtulach@38
    90
                          <goal>single</goal>
jtulach@38
    91
                      </goals>
jtulach@38
    92
                      <configuration>
jtulach@38
    93
                          <descriptors>
jtulach@38
    94
                              <descriptor>src/main/assembly/html.java.net.xml</descriptor>
jtulach@38
    95
                          </descriptors>
jtulach@38
    96
                      </configuration>
jtulach@38
    97
                  </execution>
jtulach@38
    98
              </executions>                
jaroslav@49
    99
          </plugin>
jaroslav@49
   100
         <plugin>
jaroslav@49
   101
            <artifactId>ios-maven-plugin</artifactId>
jaroslav@49
   102
            <groupId>org.netbeans.ios</groupId>
jaroslav@49
   103
            <version>0.4</version>
jaroslav@49
   104
            <configuration>
jaroslav@49
   105
               <targetDevices>1</targetDevices>
jaroslav@49
   106
               <deploymentTarget>6.1</deploymentTarget>
jaroslav@49
   107
               <bundleId>JavaOneChess</bundleId>
jaroslav@49
   108
               <provisioningProfile></provisioningProfile>
jaroslav@49
   109
               <supportedInterfaceOrientations>UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationPortrait,UIInterfaceOrientationLandscapeRight,UIInterfaceOrientationPortraitUpsideDown</supportedInterfaceOrientations>
jaroslav@49
   110
               <prerenderedIcons>false</prerenderedIcons>
jaroslav@49
   111
               <iPadSupportedInterfaceOrientations>UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationPortrait,UIInterfaceOrientationLandscapeRight,UIInterfaceOrientationPortraitUpsideDown</iPadSupportedInterfaceOrientations>
jaroslav@49
   112
            </configuration>
jaroslav@49
   113
         </plugin>
jtulach@38
   114
      </plugins>
jtulach@38
   115
  </build>
jtulach@38
   116
  <dependencies>
jtulach@38
   117
    <dependency>
jtulach@57
   118
        <groupId>org.netbeans.html</groupId>
jtulach@38
   119
        <artifactId>net.java.html.json</artifactId>
jtulach@38
   120
        <version>${net.java.html.version}</version>
jtulach@38
   121
    </dependency>
jtulach@38
   122
    <dependency>
jtulach@57
   123
        <groupId>org.netbeans.html</groupId>
jtulach@38
   124
        <artifactId>net.java.html.boot</artifactId>
jtulach@38
   125
        <version>${net.java.html.version}</version>
jtulach@38
   126
    </dependency>
jtulach@38
   127
    <dependency>
jtulach@38
   128
      <groupId>org.testng</groupId>
jtulach@38
   129
      <artifactId>testng</artifactId>
jtulach@38
   130
      <version>6.7</version>
jtulach@38
   131
      <scope>test</scope>
jtulach@38
   132
    </dependency>
jaroslav@49
   133
    <dependency>
jtulach@57
   134
      <groupId>org.netbeans.html</groupId>
jaroslav@49
   135
      <artifactId>net.java.html.sound</artifactId>
jaroslav@49
   136
      <version>${net.java.html.version}</version>
jaroslav@49
   137
      <type>jar</type>
jaroslav@49
   138
    </dependency>
jaroslav@49
   139
    <dependency>
jaroslav@49
   140
      <groupId>org.apidesign.bck2brwsr</groupId>
jaroslav@49
   141
      <artifactId>core</artifactId>
jaroslav@49
   142
      <version>${bck2brwsr.version}</version>
jaroslav@49
   143
      <scope>provided</scope>
jaroslav@49
   144
      <type>jar</type>
jaroslav@49
   145
    </dependency>
jtulach@38
   146
  </dependencies>
jtulach@38
   147
  <profiles>
jtulach@38
   148
      <profile>
jaroslav@49
   149
          <id>fxbrwsr</id>
jtulach@38
   150
          <activation>
jaroslav@49
   151
              <activeByDefault>true</activeByDefault>
jtulach@38
   152
          </activation>
jtulach@38
   153
          <dependencies>
jtulach@38
   154
              <dependency>
jtulach@57
   155
                  <groupId>org.netbeans.html</groupId>
jtulach@57
   156
                  <artifactId>ko4j</artifactId>
jtulach@38
   157
                  <version>${net.java.html.version}</version>
jaroslav@49
   158
                  <scope>runtime</scope>
jaroslav@49
   159
              </dependency>
jaroslav@49
   160
              <dependency>
jtulach@57
   161
                  <groupId>org.netbeans.html</groupId>
jtulach@57
   162
                  <artifactId>net.java.html.boot.fx</artifactId>
jaroslav@49
   163
                  <version>${net.java.html.version}</version>
jaroslav@49
   164
                  <scope>runtime</scope>
jaroslav@49
   165
              </dependency>
jaroslav@49
   166
              <dependency>
jtulach@57
   167
                  <groupId>org.netbeans.html</groupId>
jaroslav@49
   168
                  <artifactId>ko-ws-tyrus</artifactId>
jaroslav@49
   169
                  <scope>runtime</scope>
jaroslav@49
   170
                  <version>${net.java.html.version}</version>
jaroslav@49
   171
              </dependency>
jaroslav@49
   172
          </dependencies>
jaroslav@49
   173
      </profile>
jaroslav@49
   174
      <profile>
jaroslav@49
   175
          <id>bck2brwsr</id>
jaroslav@49
   176
          <activation>
jaroslav@49
   177
              <property>
jaroslav@49
   178
                  <name>brwsr</name>
jaroslav@49
   179
                  <value>bck2brwsr</value>
jaroslav@49
   180
              </property>
jaroslav@49
   181
          </activation>
jaroslav@49
   182
          <build>
jaroslav@49
   183
              <plugins>
jaroslav@49
   184
                  <plugin>
jaroslav@49
   185
                      <groupId>org.apidesign.bck2brwsr</groupId>
jaroslav@49
   186
                      <artifactId>bck2brwsr-maven-plugin</artifactId>
jaroslav@49
   187
                      <version>${bck2brwsr.launcher.version}</version>
jaroslav@49
   188
                      <executions>
jaroslav@49
   189
                          <execution>
jaroslav@49
   190
                              <goals>
jaroslav@49
   191
                                  <goal>brwsr</goal>
jaroslav@49
   192
                              </goals>
jaroslav@49
   193
                          </execution>
jaroslav@49
   194
                      </executions>
jaroslav@49
   195
                      <configuration>
jaroslav@49
   196
                          <directory>${basedir}/src/main/webapp/</directory>
jaroslav@49
   197
                          <startpage>${brwsr.startpage}</startpage>
jaroslav@49
   198
                          <launcher>${brwsr}</launcher>
jaroslav@49
   199
                          <javascript>${project.build.directory}/bck2brwsr.js</javascript>
jaroslav@49
   200
                          <obfuscation>${bck2brwsr.obfuscationlevel}</obfuscation>
jaroslav@49
   201
                      </configuration>
jaroslav@49
   202
                  </plugin>
jaroslav@49
   203
                  <plugin>
jaroslav@49
   204
                      <groupId>org.apache.maven.plugins</groupId>
jaroslav@49
   205
                      <artifactId>maven-compiler-plugin</artifactId>
jaroslav@49
   206
                      <configuration>
jaroslav@49
   207
                          <compilerArguments>
jaroslav@49
   208
                              <!--
jaroslav@49
   209
                              <bootclasspath>netbeans.ignore.jdk.bootclasspath</bootclasspath>
jaroslav@49
   210
                              -->
jaroslav@49
   211
                          </compilerArguments>
jaroslav@49
   212
                      </configuration>
jaroslav@49
   213
                  </plugin>
jaroslav@49
   214
                  <plugin>
jaroslav@49
   215
                      <artifactId>maven-assembly-plugin</artifactId>
jaroslav@49
   216
                      <version>2.4</version>
jaroslav@49
   217
                      <executions>
jaroslav@49
   218
                          <execution>
jaroslav@49
   219
                              <id>distro-assembly</id>
jaroslav@49
   220
                              <phase>package</phase>
jaroslav@49
   221
                              <goals>
jaroslav@49
   222
                                  <goal>single</goal>
jaroslav@49
   223
                              </goals>
jaroslav@49
   224
                              <configuration>
jaroslav@49
   225
                                  <descriptors>
jaroslav@49
   226
                                      <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
jaroslav@49
   227
                                  </descriptors>
jaroslav@49
   228
                              </configuration>
jaroslav@49
   229
                          </execution>
jaroslav@49
   230
                      </executions>                
jaroslav@49
   231
                  </plugin>      
jaroslav@49
   232
              </plugins>
jaroslav@49
   233
          </build>
jaroslav@49
   234
          <dependencies>
jaroslav@49
   235
              <dependency>
jaroslav@49
   236
                  <groupId>org.apidesign.bck2brwsr</groupId>
jaroslav@49
   237
                  <artifactId>emul</artifactId>
jaroslav@49
   238
                  <version>${bck2brwsr.version}</version>
jaroslav@49
   239
                  <classifier>rt</classifier>
jaroslav@49
   240
              </dependency>
jaroslav@49
   241
              <dependency>
jaroslav@49
   242
                  <groupId>org.apidesign.bck2brwsr</groupId>
jaroslav@49
   243
                  <artifactId>ko-bck2brwsr</artifactId>
jaroslav@49
   244
                  <version>${bck2brwsr.version}</version>
jaroslav@49
   245
                  <scope>runtime</scope>
jaroslav@49
   246
              </dependency>
jaroslav@49
   247
              <dependency>
jaroslav@49
   248
                  <groupId>org.apidesign.bck2brwsr</groupId>
jaroslav@49
   249
                  <artifactId>vm4brwsr</artifactId>
jaroslav@49
   250
                  <classifier>js</classifier>
jaroslav@49
   251
                  <type>zip</type>
jaroslav@49
   252
                  <version>${bck2brwsr.version}</version>
jaroslav@49
   253
                  <scope>provided</scope>
jtulach@38
   254
              </dependency>
jtulach@38
   255
          </dependencies>
jtulach@38
   256
      </profile>
jtulach@38
   257
  </profiles>
jtulach@38
   258
</project>