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