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