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