chess/pom.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Thu, 25 Jul 2013 15:09:49 +0200
branchchess
changeset 22 fb06534ab8db
child 25 b20104a99a6b
permissions -rw-r--r--
Initial version of the chess board displaying application
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@22
    15
  <name>Chess Game</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@22
    35
          <url>https://maven.java.net/content/repositories/releases/</url>
jtulach@22
    36
          <snapshots>
jtulach@22
    37
          </snapshots>
jtulach@22
    38
      </pluginRepository>
jtulach@22
    39
  </pluginRepositories>
jtulach@22
    40
jtulach@22
    41
  <properties>
jtulach@22
    42
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
jtulach@22
    43
    <net.java.html.version>0.4-SNAPSHOT</net.java.html.version>
jtulach@22
    44
    <netbeans.compile.on.save>none</netbeans.compile.on.save>
jtulach@22
    45
  </properties>
jtulach@22
    46
  <build>
jtulach@22
    47
      <plugins>
jtulach@22
    48
          <plugin>
jtulach@22
    49
              <groupId>org.apache.maven.plugins</groupId>
jtulach@22
    50
              <artifactId>maven-compiler-plugin</artifactId>
jtulach@22
    51
              <version>2.3.2</version>
jtulach@22
    52
              <configuration>
jtulach@22
    53
                  <source>1.7</source>
jtulach@22
    54
                  <target>1.7</target>
jtulach@22
    55
              </configuration>
jtulach@22
    56
          </plugin>
jtulach@22
    57
          <plugin>
jtulach@22
    58
              <groupId>org.apache.maven.plugins</groupId>
jtulach@22
    59
              <artifactId>maven-jar-plugin</artifactId>
jtulach@22
    60
              <version>2.4</version>
jtulach@22
    61
              <configuration>
jtulach@22
    62
                  <archive>
jtulach@22
    63
                      <manifest>
jtulach@22
    64
                          <mainClass>org.apidesign.html.demo.chess.Main</mainClass>
jtulach@22
    65
                          <addClasspath>true</addClasspath>
jtulach@22
    66
                          <classpathPrefix>lib/</classpathPrefix>
jtulach@22
    67
                      </manifest>
jtulach@22
    68
                  </archive>
jtulach@22
    69
              </configuration>
jtulach@22
    70
          </plugin>
jtulach@22
    71
          <plugin>
jtulach@22
    72
              <groupId>org.codehaus.mojo</groupId>
jtulach@22
    73
              <artifactId>exec-maven-plugin</artifactId>
jtulach@22
    74
              <version>1.2.1</version>
jtulach@22
    75
              <configuration>
jtulach@22
    76
                  <systemProperties>
jtulach@22
    77
                      <systemProperty>
jtulach@22
    78
                          <key>browser.rootdir</key>
jtulach@22
    79
                          <value>${basedir}/src/main/web/</value>
jtulach@22
    80
                      </systemProperty>
jtulach@22
    81
                  </systemProperties>
jtulach@22
    82
                  <mainClass>org.apidesign.html.demo.chess.Main</mainClass>
jtulach@22
    83
              </configuration>
jtulach@22
    84
          </plugin>      
jtulach@22
    85
          <plugin>
jtulach@22
    86
              <artifactId>maven-assembly-plugin</artifactId>
jtulach@22
    87
              <version>2.4</version>
jtulach@22
    88
              <executions>
jtulach@22
    89
                  <execution>
jtulach@22
    90
                      <id>distro-assembly</id>
jtulach@22
    91
                      <phase>package</phase>
jtulach@22
    92
                      <goals>
jtulach@22
    93
                          <goal>single</goal>
jtulach@22
    94
                      </goals>
jtulach@22
    95
                      <configuration>
jtulach@22
    96
                          <descriptors>
jtulach@22
    97
                              <descriptor>src/main/assembly/html.java.net.xml</descriptor>
jtulach@22
    98
                          </descriptors>
jtulach@22
    99
                      </configuration>
jtulach@22
   100
                  </execution>
jtulach@22
   101
              </executions>                
jtulach@22
   102
          </plugin>      
jtulach@22
   103
      </plugins>
jtulach@22
   104
  </build>
jtulach@22
   105
  <dependencies>
jtulach@22
   106
    <dependency>
jtulach@22
   107
        <groupId>org.apidesign.html</groupId>
jtulach@22
   108
        <artifactId>net.java.html.json</artifactId>
jtulach@22
   109
        <version>${net.java.html.version}</version>
jtulach@22
   110
    </dependency>
jtulach@22
   111
    <dependency>
jtulach@22
   112
        <groupId>org.apidesign.html</groupId>
jtulach@22
   113
        <artifactId>net.java.html.boot</artifactId>
jtulach@22
   114
        <version>${net.java.html.version}</version>
jtulach@22
   115
    </dependency>
jtulach@22
   116
    <dependency>
jtulach@22
   117
        <groupId>org.apidesign.html</groupId>
jtulach@22
   118
        <artifactId>ko-fx</artifactId>
jtulach@22
   119
        <version>${net.java.html.version}</version>
jtulach@22
   120
        <scope>runtime</scope>
jtulach@22
   121
    </dependency>
jtulach@22
   122
    <dependency>
jtulach@22
   123
        <groupId>org.apidesign.html</groupId>
jtulach@22
   124
        <artifactId>boot-fx</artifactId>
jtulach@22
   125
        <version>${net.java.html.version}</version>
jtulach@22
   126
        <scope>runtime</scope>
jtulach@22
   127
    </dependency>
jtulach@22
   128
    <dependency>
jtulach@22
   129
      <groupId>org.testng</groupId>
jtulach@22
   130
      <artifactId>testng</artifactId>
jtulach@22
   131
      <version>6.7</version>
jtulach@22
   132
      <scope>test</scope>
jtulach@22
   133
    </dependency>
jtulach@22
   134
  </dependencies>
jtulach@22
   135
  <profiles>
jtulach@22
   136
      <profile>
jtulach@22
   137
          <id>iOSDeploy</id>
jtulach@22
   138
          <activation>
jtulach@22
   139
              <os>
jtulach@22
   140
                  <name>Mac OS X</name>
jtulach@22
   141
              </os>
jtulach@22
   142
          </activation>
jtulach@22
   143
          <build>
jtulach@22
   144
              <plugins>
jtulach@22
   145
                  <plugin>
jtulach@22
   146
                      <groupId>org.netbeans.ios</groupId>
jtulach@22
   147
                      <artifactId>ios-maven-plugin</artifactId>
jtulach@22
   148
                      <version>0.2-SNAPSHOT</version>
jtulach@22
   149
                      <configuration>
jtulach@22
   150
                          <jarfile>${project.build.directory}/${project.build.finalName}.jar</jarfile>
jtulach@22
   151
                          <title>${project.name}</title>
jtulach@22
   152
                          <mainclass>org.apidesign.html.demo.chess.Main</mainclass>
jtulach@22
   153
                          <resourcesDir>src/main/web/</resourcesDir>
jtulach@22
   154
                      </configuration>
jtulach@22
   155
                  </plugin>
jtulach@22
   156
                  <plugin>
jtulach@22
   157
                      <groupId>org.apache.maven.plugins</groupId>
jtulach@22
   158
                      <artifactId>maven-jar-plugin</artifactId>
jtulach@22
   159
                      <version>2.4</version>
jtulach@22
   160
                      <configuration>
jtulach@22
   161
                          <archive>
jtulach@22
   162
                              <manifest>
jtulach@22
   163
                                  <mainClass>org.apidesign.html.demo.chess.Main</mainClass>
jtulach@22
   164
                                  <addClasspath>true</addClasspath>
jtulach@22
   165
                                  <classpathPrefix>lib/</classpathPrefix>
jtulach@22
   166
                              </manifest>
jtulach@22
   167
                          </archive>
jtulach@22
   168
                      </configuration>
jtulach@22
   169
                  </plugin>
jtulach@22
   170
              </plugins>
jtulach@22
   171
          </build>
jtulach@22
   172
          <dependencies>
jtulach@22
   173
              <dependency>
jtulach@22
   174
                  <groupId>org.apidesign.html</groupId>
jtulach@22
   175
                  <artifactId>ko-fx</artifactId>
jtulach@22
   176
                  <version>${net.java.html.version}</version>
jtulach@22
   177
              </dependency>
jtulach@22
   178
          </dependencies>
jtulach@22
   179
      </profile>
jtulach@22
   180
  </profiles>
jtulach@22
   181
</project>