chess/pom.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Fri, 26 Jul 2013 12:40:51 +0200
branchchess
changeset 31 f0dd921cf985
parent 25 b20104a99a6b
child 38 7b98c561321d
permissions -rw-r--r--
Removing space in name and directly referencing the iOS plugin
jtulach@22
     1
<?xml version="1.0" encoding="UTF-8"?>
jtulach@22
     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@22
     3
  <modelVersion>4.0.0</modelVersion>
jtulach@22
     4
  <parent>
jtulach@22
     5
    <artifactId>demo</artifactId>
jtulach@22
     6
    <groupId>org.apidesign.html</groupId>
jtulach@22
     7
    <version>1.0-SNAPSHOT</version>
jtulach@22
     8
  </parent>
jtulach@22
     9
jtulach@22
    10
  <groupId>org.apidesign.html.demo</groupId>
jtulach@22
    11
  <artifactId>chess</artifactId>
jtulach@22
    12
  <version>1.0-SNAPSHOT</version>
jtulach@22
    13
  <packaging>jar</packaging>
jtulach@22
    14
jtulach@31
    15
  <name>ChessGame</name>
jtulach@22
    16
jtulach@22
    17
  <repositories>
jtulach@22
    18
      <repository>
jtulach@22
    19
          <id>java.net</id>
jtulach@22
    20
          <name>Java.net</name>
jtulach@22
    21
          <url>https://maven.java.net/content/repositories/releases/</url>
jtulach@22
    22
          <snapshots>
jtulach@22
    23
          </snapshots>
jtulach@22
    24
      </repository>
jtulach@22
    25
      <repository>
jtulach@22
    26
          <id>netbeans</id>
jtulach@22
    27
          <name>NetBeans</name>
jtulach@22
    28
          <url>http://bits.netbeans.org/maven2/</url>
jtulach@22
    29
      </repository>
jtulach@22
    30
  </repositories>
jtulach@22
    31
  <pluginRepositories>
jtulach@22
    32
      <pluginRepository>
jtulach@22
    33
          <id>java.net</id>
jtulach@22
    34
          <name>Java.net</name>
jtulach@31
    35
          <url>https://maven.java.net/content/repositories/snapshots/</url>
jtulach@31
    36
          <snapshots>
jtulach@31
    37
              <enabled>true</enabled>
jtulach@31
    38
          </snapshots>
jtulach@31
    39
      </pluginRepository>
jtulach@31
    40
      <pluginRepository>
jtulach@31
    41
          <id>ios</id>
jtulach@31
    42
          <name>NetBeans iOS Maven Plugin</name>
jtulach@31
    43
          <url>http://beetle.cz.oracle.com/~jtulach/maven/</url>
jtulach@22
    44
          <snapshots>
jtulach@22
    45
          </snapshots>
jtulach@22
    46
      </pluginRepository>
jtulach@22
    47
  </pluginRepositories>
jtulach@22
    48
jtulach@22
    49
  <properties>
jtulach@22
    50
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
jtulach@22
    51
    <net.java.html.version>0.4-SNAPSHOT</net.java.html.version>
jtulach@22
    52
    <netbeans.compile.on.save>none</netbeans.compile.on.save>
jtulach@22
    53
  </properties>
jtulach@22
    54
  <build>
jtulach@22
    55
      <plugins>
jtulach@22
    56
          <plugin>
jtulach@22
    57
              <groupId>org.apache.maven.plugins</groupId>
jtulach@22
    58
              <artifactId>maven-compiler-plugin</artifactId>
jtulach@22
    59
              <version>2.3.2</version>
jtulach@22
    60
              <configuration>
jtulach@22
    61
                  <source>1.7</source>
jtulach@22
    62
                  <target>1.7</target>
jtulach@22
    63
              </configuration>
jtulach@22
    64
          </plugin>
jtulach@22
    65
          <plugin>
jtulach@22
    66
              <groupId>org.apache.maven.plugins</groupId>
jtulach@22
    67
              <artifactId>maven-jar-plugin</artifactId>
jtulach@22
    68
              <version>2.4</version>
jtulach@22
    69
              <configuration>
jtulach@22
    70
                  <archive>
jtulach@22
    71
                      <manifest>
jtulach@22
    72
                          <mainClass>org.apidesign.html.demo.chess.Main</mainClass>
jtulach@22
    73
                          <addClasspath>true</addClasspath>
jtulach@22
    74
                          <classpathPrefix>lib/</classpathPrefix>
jtulach@22
    75
                      </manifest>
jtulach@22
    76
                  </archive>
jtulach@22
    77
              </configuration>
jtulach@22
    78
          </plugin>
jtulach@22
    79
          <plugin>
jtulach@22
    80
              <groupId>org.codehaus.mojo</groupId>
jtulach@22
    81
              <artifactId>exec-maven-plugin</artifactId>
jtulach@22
    82
              <version>1.2.1</version>
jtulach@22
    83
              <configuration>
jtulach@22
    84
                  <systemProperties>
jtulach@22
    85
                      <systemProperty>
jtulach@22
    86
                          <key>browser.rootdir</key>
jtulach@25
    87
                          <value>${basedir}/src/main/webapp/</value>
jtulach@22
    88
                      </systemProperty>
jtulach@22
    89
                  </systemProperties>
jtulach@22
    90
                  <mainClass>org.apidesign.html.demo.chess.Main</mainClass>
jtulach@22
    91
              </configuration>
jtulach@22
    92
          </plugin>      
jtulach@22
    93
          <plugin>
jtulach@22
    94
              <artifactId>maven-assembly-plugin</artifactId>
jtulach@22
    95
              <version>2.4</version>
jtulach@22
    96
              <executions>
jtulach@22
    97
                  <execution>
jtulach@22
    98
                      <id>distro-assembly</id>
jtulach@22
    99
                      <phase>package</phase>
jtulach@22
   100
                      <goals>
jtulach@22
   101
                          <goal>single</goal>
jtulach@22
   102
                      </goals>
jtulach@22
   103
                      <configuration>
jtulach@22
   104
                          <descriptors>
jtulach@22
   105
                              <descriptor>src/main/assembly/html.java.net.xml</descriptor>
jtulach@22
   106
                          </descriptors>
jtulach@22
   107
                      </configuration>
jtulach@22
   108
                  </execution>
jtulach@22
   109
              </executions>                
jtulach@22
   110
          </plugin>      
jtulach@22
   111
      </plugins>
jtulach@22
   112
  </build>
jtulach@22
   113
  <dependencies>
jtulach@22
   114
    <dependency>
jtulach@22
   115
        <groupId>org.apidesign.html</groupId>
jtulach@22
   116
        <artifactId>net.java.html.json</artifactId>
jtulach@22
   117
        <version>${net.java.html.version}</version>
jtulach@22
   118
    </dependency>
jtulach@22
   119
    <dependency>
jtulach@22
   120
        <groupId>org.apidesign.html</groupId>
jtulach@22
   121
        <artifactId>net.java.html.boot</artifactId>
jtulach@22
   122
        <version>${net.java.html.version}</version>
jtulach@22
   123
    </dependency>
jtulach@22
   124
    <dependency>
jtulach@22
   125
        <groupId>org.apidesign.html</groupId>
jtulach@22
   126
        <artifactId>ko-fx</artifactId>
jtulach@22
   127
        <version>${net.java.html.version}</version>
jtulach@22
   128
        <scope>runtime</scope>
jtulach@22
   129
    </dependency>
jtulach@22
   130
    <dependency>
jtulach@22
   131
        <groupId>org.apidesign.html</groupId>
jtulach@22
   132
        <artifactId>boot-fx</artifactId>
jtulach@22
   133
        <version>${net.java.html.version}</version>
jtulach@22
   134
        <scope>runtime</scope>
jtulach@22
   135
    </dependency>
jtulach@22
   136
    <dependency>
jtulach@22
   137
      <groupId>org.testng</groupId>
jtulach@22
   138
      <artifactId>testng</artifactId>
jtulach@22
   139
      <version>6.7</version>
jtulach@22
   140
      <scope>test</scope>
jtulach@22
   141
    </dependency>
jtulach@22
   142
  </dependencies>
jtulach@22
   143
  <profiles>
jtulach@22
   144
      <profile>
jtulach@22
   145
          <id>iOSDeploy</id>
jtulach@22
   146
          <activation>
jtulach@22
   147
              <os>
jtulach@22
   148
                  <name>Mac OS X</name>
jtulach@22
   149
              </os>
jtulach@22
   150
          </activation>
jtulach@22
   151
          <build>
jtulach@22
   152
              <plugins>
jtulach@22
   153
                  <plugin>
jtulach@22
   154
                      <groupId>org.netbeans.ios</groupId>
jtulach@22
   155
                      <artifactId>ios-maven-plugin</artifactId>
jtulach@31
   156
                      <version>0.2</version>
jtulach@22
   157
                      <configuration>
jtulach@22
   158
                          <jarfile>${project.build.directory}/${project.build.finalName}.jar</jarfile>
jtulach@22
   159
                          <title>${project.name}</title>
jtulach@22
   160
                          <mainclass>org.apidesign.html.demo.chess.Main</mainclass>
jtulach@25
   161
                          <resourcesDir>src/main/webapp/</resourcesDir>
jtulach@22
   162
                      </configuration>
jtulach@22
   163
                  </plugin>
jtulach@22
   164
                  <plugin>
jtulach@22
   165
                      <groupId>org.apache.maven.plugins</groupId>
jtulach@22
   166
                      <artifactId>maven-jar-plugin</artifactId>
jtulach@22
   167
                      <version>2.4</version>
jtulach@22
   168
                      <configuration>
jtulach@22
   169
                          <archive>
jtulach@22
   170
                              <manifest>
jtulach@22
   171
                                  <mainClass>org.apidesign.html.demo.chess.Main</mainClass>
jtulach@22
   172
                                  <addClasspath>true</addClasspath>
jtulach@22
   173
                                  <classpathPrefix>lib/</classpathPrefix>
jtulach@22
   174
                              </manifest>
jtulach@22
   175
                          </archive>
jtulach@22
   176
                      </configuration>
jtulach@22
   177
                  </plugin>
jtulach@22
   178
              </plugins>
jtulach@22
   179
          </build>
jtulach@22
   180
          <dependencies>
jtulach@22
   181
              <dependency>
jtulach@22
   182
                  <groupId>org.apidesign.html</groupId>
jtulach@22
   183
                  <artifactId>ko-fx</artifactId>
jtulach@22
   184
                  <version>${net.java.html.version}</version>
jtulach@22
   185
              </dependency>
jtulach@22
   186
          </dependencies>
jtulach@22
   187
      </profile>
jtulach@22
   188
  </profiles>
jtulach@22
   189
</project>