ko/kosample/client/pom.xml
changeset 1941 621825e167d7
child 1944 644d4f4bc6e0
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ko/kosample/client/pom.xml	Tue Apr 26 08:04:12 2016 +0200
     1.3 @@ -0,0 +1,228 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     1.6 +  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     1.7 +  <modelVersion>4.0.0</modelVersion>
     1.8 +
     1.9 +  <parent>
    1.10 +      <groupId>org.apidesign.bck2brwsr</groupId>
    1.11 +      <artifactId>kosample-pom</artifactId>
    1.12 +      <version>1.0-SNAPSHOT</version>
    1.13 +  </parent>
    1.14 +
    1.15 +  <groupId>org.apidesign.bck2brwsr</groupId>
    1.16 +  <artifactId>kosample</artifactId>
    1.17 +  <version>1.0-SNAPSHOT</version>
    1.18 +  <packaging>bundle</packaging>
    1.19 +
    1.20 +  <name>kosample General Client Code</name>
    1.21 +
    1.22 +  <properties>
    1.23 +    <netbeans.compile.on.save>all</netbeans.compile.on.save>
    1.24 +    <project.mainclass>org.apidesign.bck2brwsr.kosample.Main</project.mainclass>
    1.25 +    <exec.java.bin>${java.home}/bin/java</exec.java.bin>
    1.26 +    <exec.debug.arg>-Ddebug=false</exec.debug.arg>
    1.27 +  </properties>
    1.28 +  <build>
    1.29 +      <plugins>
    1.30 +          <plugin>
    1.31 +              <groupId>org.apache.felix</groupId>
    1.32 +              <artifactId>maven-bundle-plugin</artifactId>
    1.33 +              <version>2.4.0</version>
    1.34 +              <extensions>true</extensions>
    1.35 +              <configuration>
    1.36 +                  <instructions>
    1.37 +                      <Export-Package>org.apidesign.bck2brwsr.kosample</Export-Package>
    1.38 +                      <Bundle-SymbolicName>org.apidesign.bck2brwsr.kosample</Bundle-SymbolicName>
    1.39 +                  </instructions>
    1.40 +              </configuration>
    1.41 +          </plugin>
    1.42 +          <plugin>
    1.43 +              <groupId>org.apache.maven.plugins</groupId>
    1.44 +              <artifactId>maven-compiler-plugin</artifactId>
    1.45 +              <version>2.3.2</version>
    1.46 +              <configuration>
    1.47 +                  <source>1.7</source>
    1.48 +                  <target>1.7</target>
    1.49 +              </configuration>
    1.50 +          </plugin>
    1.51 +          <plugin>
    1.52 +              <groupId>org.apache.maven.plugins</groupId>
    1.53 +              <artifactId>maven-jar-plugin</artifactId>
    1.54 +              <version>2.4</version>
    1.55 +              <configuration>
    1.56 +                  <archive>
    1.57 +                      <manifest>
    1.58 +                          <mainClass>${project.mainclass}</mainClass>
    1.59 +                          <addClasspath>true</addClasspath>
    1.60 +                          <classpathPrefix>lib/</classpathPrefix>
    1.61 +                          <useUniqueVersions>false</useUniqueVersions>
    1.62 +                      </manifest>
    1.63 +                  </archive>
    1.64 +              </configuration>
    1.65 +          </plugin>
    1.66 +          <plugin>
    1.67 +              <artifactId>maven-source-plugin</artifactId>
    1.68 +              <version>2.2.1</version>
    1.69 +              <executions>
    1.70 +                  <execution>
    1.71 +                      <id>attach-sources</id>
    1.72 +                      <phase>post-integration-test</phase>
    1.73 +                      <goals>
    1.74 +                          <goal>jar-no-fork</goal>
    1.75 +                      </goals>
    1.76 +                  </execution>
    1.77 +              </executions>
    1.78 +          </plugin>
    1.79 +          <plugin>
    1.80 +              <groupId>org.codehaus.mojo</groupId>
    1.81 +              <artifactId>exec-maven-plugin</artifactId>
    1.82 +              <version>1.2.1</version>
    1.83 +                <configuration>
    1.84 +                   <executable>${exec.java.bin}</executable>
    1.85 +                   <classpathScope>test</classpathScope>
    1.86 +                   <arguments>
    1.87 +                       <argument>-classpath</argument>
    1.88 +                       <classpath/>
    1.89 +                       <argument>-javaagent:${project.build.directory}/springloaded.jar</argument>
    1.90 +                       <argument>-noverify</argument>
    1.91 +                       <argument>-Dbrowser.rootdir=${basedir}/src/main/webapp/</argument>
    1.92 +                       <argument>-Dnetbeans.inspect.port=${netbeans.inspect.port}</argument>
    1.93 +                       <argument>${exec.debug.arg}</argument>
    1.94 +                       <argument>${project.mainclass}</argument>
    1.95 +                   </arguments>
    1.96 +                </configuration>
    1.97 +          </plugin>
    1.98 +          <plugin>
    1.99 +              <groupId>org.apache.maven.plugins</groupId>
   1.100 +              <artifactId>maven-dependency-plugin</artifactId>
   1.101 +              <version>2.10</version>
   1.102 +              <executions>
   1.103 +                  <execution>
   1.104 +                      <id>copy</id>
   1.105 +                      <phase>package</phase>
   1.106 +                      <goals>
   1.107 +                          <goal>copy</goal>
   1.108 +                      </goals>
   1.109 +                      <configuration>
   1.110 +                          <artifactItems>
   1.111 +                              <artifactItem>
   1.112 +                                  <groupId>org.springframework</groupId>
   1.113 +                                  <artifactId>springloaded</artifactId>
   1.114 +                                  <version>1.2.3.RELEASE</version>
   1.115 +                                  <type>jar</type>
   1.116 +                                  <overWrite>false</overWrite>
   1.117 +                                  <destFileName>springloaded.jar</destFileName>
   1.118 +                              </artifactItem>
   1.119 +                          </artifactItems>
   1.120 +                          <outputDirectory>${project.build.directory}</outputDirectory>
   1.121 +                      </configuration>
   1.122 +                  </execution>
   1.123 +              </executions>
   1.124 +          </plugin>
   1.125 +          <plugin>
   1.126 +              <artifactId>maven-assembly-plugin</artifactId>
   1.127 +              <version>2.4</version>
   1.128 +              <executions>
   1.129 +                  <execution>
   1.130 +                      <id>web-pages</id>
   1.131 +                      <phase>package</phase>
   1.132 +                      <goals>
   1.133 +                          <goal>single</goal>
   1.134 +                      </goals>
   1.135 +                      <configuration>
   1.136 +                          <descriptors>
   1.137 +                              <descriptor>src/main/assembly/webpages.xml</descriptor>
   1.138 +                          </descriptors>
   1.139 +                      </configuration>
   1.140 +                  </execution>
   1.141 +              </executions>
   1.142 +          </plugin>
   1.143 +      </plugins>
   1.144 +  </build>
   1.145 +  <dependencies>
   1.146 +    <dependency>
   1.147 +        <groupId>org.netbeans.html</groupId>
   1.148 +        <artifactId>net.java.html</artifactId>
   1.149 +        <version>${net.java.html.version}</version>
   1.150 +    </dependency>
   1.151 +    <dependency>
   1.152 +        <groupId>org.netbeans.html</groupId>
   1.153 +        <artifactId>net.java.html.json</artifactId>
   1.154 +        <version>${net.java.html.version}</version>
   1.155 +    </dependency>
   1.156 +    <dependency>
   1.157 +        <groupId>org.netbeans.html</groupId>
   1.158 +        <artifactId>net.java.html.boot</artifactId>
   1.159 +        <version>${net.java.html.version}</version>
   1.160 +    </dependency>
   1.161 +    <dependency>
   1.162 +        <groupId>org.netbeans.html</groupId>
   1.163 +        <artifactId>net.java.html.sound</artifactId>
   1.164 +        <version>${net.java.html.version}</version>
   1.165 +    </dependency>
   1.166 +    <dependency>
   1.167 +        <groupId>org.netbeans.html</groupId>
   1.168 +        <artifactId>ko4j</artifactId>
   1.169 +        <version>${net.java.html.version}</version>
   1.170 +        <scope>runtime</scope>
   1.171 +    </dependency>
   1.172 +    <dependency>
   1.173 +      <groupId>org.testng</groupId>
   1.174 +      <artifactId>testng</artifactId>
   1.175 +      <scope>test</scope>
   1.176 +    </dependency>
   1.177 +    <dependency>
   1.178 +      <groupId>org.netbeans.html</groupId>
   1.179 +      <artifactId>net.java.html.boot.script</artifactId>
   1.180 +      <version>${net.java.html.version}</version>
   1.181 +      <scope>test</scope>
   1.182 +      <type>jar</type>
   1.183 +    </dependency>
   1.184 +    <dependency>
   1.185 +        <groupId>org.apidesign.bck2brwsr</groupId>
   1.186 +        <artifactId>kosample-js</artifactId>
   1.187 +        <version>${project.version}</version>
   1.188 +    </dependency>
   1.189 +    <dependency>
   1.190 +        <groupId>org.netbeans.html</groupId>
   1.191 +        <artifactId>net.java.html.boot.fx</artifactId>
   1.192 +        <version>${net.java.html.version}</version>
   1.193 +        <scope>provided</scope>
   1.194 +    </dependency>
   1.195 +  </dependencies>
   1.196 +  <profiles>
   1.197 +      <profile>
   1.198 +          <id>desktop</id>
   1.199 +          <dependencies>
   1.200 +              <dependency>
   1.201 +                  <groupId>org.netbeans.html</groupId>
   1.202 +                  <artifactId>net.java.html.boot.fx</artifactId>
   1.203 +                  <version>${net.java.html.version}</version>
   1.204 +                  <scope>runtime</scope>
   1.205 +              </dependency>
   1.206 +          </dependencies>
   1.207 +          <build>
   1.208 +              <plugins>
   1.209 +                  <plugin>
   1.210 +                      <artifactId>maven-assembly-plugin</artifactId>
   1.211 +                      <version>2.4</version>
   1.212 +                      <executions>
   1.213 +                          <execution>
   1.214 +                              <id>distro-assembly</id>
   1.215 +                              <phase>package</phase>
   1.216 +                              <goals>
   1.217 +                                  <goal>single</goal>
   1.218 +                              </goals>
   1.219 +                              <configuration>
   1.220 +                                  <descriptors>
   1.221 +                                      <descriptor>src/main/assembly/javafx.xml</descriptor>
   1.222 +                                  </descriptors>
   1.223 +                              </configuration>
   1.224 +                          </execution>
   1.225 +                      </executions>
   1.226 +                  </plugin>
   1.227 +              </plugins>
   1.228 +          </build>
   1.229 +      </profile>
   1.230 +  </profiles>
   1.231 +</project>