words/pom.xml
changeset 46 009537e6ce80
parent 40 da7178b65f36
child 56 68cecf6c3113
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/words/pom.xml	Thu Aug 15 13:17:54 2013 +0200
     1.3 @@ -0,0 +1,148 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<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">
     1.6 +  <modelVersion>4.0.0</modelVersion>
     1.7 +  <parent>
     1.8 +    <artifactId>demo</artifactId>
     1.9 +    <groupId>org.apidesign.html</groupId>
    1.10 +    <version>1.0-SNAPSHOT</version>
    1.11 +  </parent>
    1.12 +
    1.13 +  <groupId>org.apidesign.demo</groupId>
    1.14 +  <artifactId>words</artifactId>
    1.15 +  <version>1.0-SNAPSHOT</version>
    1.16 +  <packaging>jar</packaging>
    1.17 +
    1.18 +  <name>Words</name>
    1.19 +
    1.20 +  <pluginRepositories>
    1.21 +      <pluginRepository>
    1.22 +          <id>ios</id>
    1.23 +          <name>NetBeans iOS Maven Plugin</name>
    1.24 +          <url>http://beetle.cz.oracle.com/~jtulach/maven/</url>
    1.25 +          <snapshots>
    1.26 +          </snapshots>
    1.27 +      </pluginRepository>
    1.28 +  </pluginRepositories>
    1.29 +
    1.30 +  <properties>
    1.31 +    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    1.32 +    <net.java.html.version>0.4</net.java.html.version>
    1.33 +    <project.mainclass>org.apidesign.demo.words.Main</project.mainclass>
    1.34 +    <netbeans.compile.on.save>none</netbeans.compile.on.save>
    1.35 +  </properties>
    1.36 +  <build>
    1.37 +      <plugins>
    1.38 +          <plugin>
    1.39 +              <groupId>org.apache.maven.plugins</groupId>
    1.40 +              <artifactId>maven-compiler-plugin</artifactId>
    1.41 +              <version>2.3.2</version>
    1.42 +              <configuration>
    1.43 +                  <source>1.7</source>
    1.44 +                  <target>1.7</target>
    1.45 +              </configuration>
    1.46 +          </plugin>
    1.47 +          <plugin>
    1.48 +              <groupId>org.apache.maven.plugins</groupId>
    1.49 +              <artifactId>maven-jar-plugin</artifactId>
    1.50 +              <version>2.4</version>
    1.51 +              <configuration>
    1.52 +                  <archive>
    1.53 +                      <manifest>
    1.54 +                          <mainClass>${project.mainclass}</mainClass>
    1.55 +                          <addClasspath>true</addClasspath>
    1.56 +                          <classpathPrefix>lib/</classpathPrefix>
    1.57 +                      </manifest>
    1.58 +                  </archive>
    1.59 +              </configuration>
    1.60 +          </plugin>
    1.61 +          <plugin>
    1.62 +              <groupId>org.codehaus.mojo</groupId>
    1.63 +              <artifactId>exec-maven-plugin</artifactId>
    1.64 +              <version>1.2.1</version>
    1.65 +              <configuration>
    1.66 +                  <systemProperties>
    1.67 +                      <systemProperty>
    1.68 +                          <key>browser.rootdir</key>
    1.69 +                          <value>${basedir}/src/main/webapp/</value>
    1.70 +                      </systemProperty>
    1.71 +                  </systemProperties>
    1.72 +                  <mainClass>${project.mainclass}</mainClass>
    1.73 +              </configuration>
    1.74 +          </plugin>      
    1.75 +          <plugin>
    1.76 +              <artifactId>maven-assembly-plugin</artifactId>
    1.77 +              <version>2.4</version>
    1.78 +              <executions>
    1.79 +                  <execution>
    1.80 +                      <id>distro-assembly</id>
    1.81 +                      <phase>package</phase>
    1.82 +                      <goals>
    1.83 +                          <goal>single</goal>
    1.84 +                      </goals>
    1.85 +                      <configuration>
    1.86 +                          <descriptors>
    1.87 +                              <descriptor>src/main/assembly/html.java.net.xml</descriptor>
    1.88 +                          </descriptors>
    1.89 +                      </configuration>
    1.90 +                  </execution>
    1.91 +              </executions>                
    1.92 +          </plugin>      
    1.93 +      </plugins>
    1.94 +  </build>
    1.95 +  <dependencies>
    1.96 +    <dependency>
    1.97 +        <groupId>org.apidesign.html</groupId>
    1.98 +        <artifactId>net.java.html.json</artifactId>
    1.99 +        <version>${net.java.html.version}</version>
   1.100 +    </dependency>
   1.101 +    <dependency>
   1.102 +        <groupId>org.apidesign.html</groupId>
   1.103 +        <artifactId>net.java.html.boot</artifactId>
   1.104 +        <version>${net.java.html.version}</version>
   1.105 +    </dependency>
   1.106 +    <dependency>
   1.107 +        <groupId>org.apidesign.html</groupId>
   1.108 +        <artifactId>ko-fx</artifactId>
   1.109 +        <version>${net.java.html.version}</version>
   1.110 +        <scope>runtime</scope>
   1.111 +    </dependency>
   1.112 +    <dependency>
   1.113 +        <groupId>org.apidesign.html</groupId>
   1.114 +        <artifactId>boot-fx</artifactId>
   1.115 +        <version>${net.java.html.version}</version>
   1.116 +        <scope>runtime</scope>
   1.117 +    </dependency>
   1.118 +    <dependency>
   1.119 +      <groupId>org.testng</groupId>
   1.120 +      <artifactId>testng</artifactId>
   1.121 +      <version>6.7</version>
   1.122 +      <scope>test</scope>
   1.123 +    </dependency>
   1.124 +  </dependencies>
   1.125 +  <profiles>
   1.126 +      <profile>
   1.127 +          <id>iOS</id>
   1.128 +          <activation>
   1.129 +              <os>
   1.130 +                  <family>mac</family>
   1.131 +                  <name>Mac OS X</name>
   1.132 +              </os>
   1.133 +          </activation>
   1.134 +          <build>
   1.135 +              <plugins>
   1.136 +                  <plugin>
   1.137 +                      <groupId>org.netbeans.ios</groupId>
   1.138 +                      <artifactId>ios-maven-plugin</artifactId>
   1.139 +                      <version>0.2</version>
   1.140 +                      <configuration>
   1.141 +                          <jarfile>${project.build.directory}/${project.build.finalName}.jar</jarfile>
   1.142 +                          <title>${project.name}</title>
   1.143 +                          <mainclass>${project.mainclass}</mainclass>
   1.144 +                          <resourcesDir>src/main/webapp/</resourcesDir>
   1.145 +                      </configuration>
   1.146 +                  </plugin>
   1.147 +              </plugins>
   1.148 +          </build>
   1.149 +      </profile>
   1.150 +  </profiles>  
   1.151 +</project>