author | Jaroslav Tulach <jaroslav.tulach@apidesign.org> |
Fri, 22 Apr 2016 05:56:47 +0200 | |
branch | NewChat |
changeset 238 | a0f15cb8c730 |
parent 144 | f784d803f065 |
permissions | -rw-r--r-- |
jaroslav@238 | 1 |
<?xml version="1.0"?> |
jaroslav@238 | 2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
jaroslav@238 | 3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
jtulach@13 | 4 |
<modelVersion>4.0.0</modelVersion> |
jaroslav@238 | 5 |
|
jtulach@13 | 6 |
<parent> |
jaroslav@238 | 7 |
<groupId>org.apidesign.demo</groupId> |
jaroslav@238 | 8 |
<artifactId>chat-pom</artifactId> |
jaroslav@238 | 9 |
<version>1.0-SNAPSHOT</version> |
jtulach@13 | 10 |
</parent> |
jtulach@13 | 11 |
|
jaroslav@238 | 12 |
<groupId>org.apidesign.demo</groupId> |
jaroslav@238 | 13 |
<artifactId>chat</artifactId> |
jtulach@13 | 14 |
<version>1.0-SNAPSHOT</version> |
jaroslav@238 | 15 |
<packaging>bundle</packaging> |
jtulach@13 | 16 |
|
jaroslav@238 | 17 |
<name>chat General Client Code</name> |
jtulach@13 | 18 |
|
jtulach@13 | 19 |
<properties> |
jaroslav@238 | 20 |
<netbeans.compile.on.save>all</netbeans.compile.on.save> |
jaroslav@238 | 21 |
<project.mainclass>org.apidesign.demo.chat.Main</project.mainclass> |
jaroslav@238 | 22 |
<exec.java.bin>${java.home}/bin/java</exec.java.bin> |
jaroslav@238 | 23 |
<exec.debug.arg>-Ddebug=false</exec.debug.arg> |
jtulach@13 | 24 |
</properties> |
jtulach@13 | 25 |
<build> |
jtulach@13 | 26 |
<plugins> |
jaroslav@238 | 27 |
<plugin> |
jaroslav@238 | 28 |
<groupId>org.apache.felix</groupId> |
jaroslav@238 | 29 |
<artifactId>maven-bundle-plugin</artifactId> |
jaroslav@238 | 30 |
<version>2.4.0</version> |
jaroslav@238 | 31 |
<extensions>true</extensions> |
jaroslav@238 | 32 |
<configuration> |
jaroslav@238 | 33 |
<instructions> |
jaroslav@238 | 34 |
<Export-Package>org.apidesign.demo.chat</Export-Package> |
jaroslav@238 | 35 |
<Bundle-SymbolicName>org.apidesign.demo.chat</Bundle-SymbolicName> |
jaroslav@238 | 36 |
</instructions> |
jaroslav@238 | 37 |
</configuration> |
jaroslav@238 | 38 |
</plugin> |
jaroslav@238 | 39 |
<plugin> |
jaroslav@238 | 40 |
<groupId>org.apache.maven.plugins</groupId> |
jaroslav@238 | 41 |
<artifactId>maven-compiler-plugin</artifactId> |
jaroslav@238 | 42 |
<version>2.3.2</version> |
jaroslav@238 | 43 |
<configuration> |
jaroslav@238 | 44 |
<source>1.7</source> |
jaroslav@238 | 45 |
<target>1.7</target> |
jaroslav@238 | 46 |
</configuration> |
jaroslav@238 | 47 |
</plugin> |
jaroslav@238 | 48 |
<plugin> |
jaroslav@238 | 49 |
<groupId>org.apache.maven.plugins</groupId> |
jaroslav@238 | 50 |
<artifactId>maven-jar-plugin</artifactId> |
jaroslav@238 | 51 |
<version>2.4</version> |
jaroslav@238 | 52 |
<configuration> |
jaroslav@238 | 53 |
<archive> |
jaroslav@238 | 54 |
<manifest> |
jaroslav@238 | 55 |
<mainClass>${project.mainclass}</mainClass> |
jaroslav@238 | 56 |
<addClasspath>true</addClasspath> |
jaroslav@238 | 57 |
<classpathPrefix>lib/</classpathPrefix> |
jaroslav@238 | 58 |
<useUniqueVersions>false</useUniqueVersions> |
jaroslav@238 | 59 |
</manifest> |
jaroslav@238 | 60 |
</archive> |
jaroslav@238 | 61 |
</configuration> |
jaroslav@238 | 62 |
</plugin> |
jaroslav@238 | 63 |
<plugin> |
jaroslav@238 | 64 |
<groupId>org.codehaus.mojo</groupId> |
jaroslav@238 | 65 |
<artifactId>exec-maven-plugin</artifactId> |
jaroslav@238 | 66 |
<version>1.2.1</version> |
jaroslav@238 | 67 |
<configuration> |
jaroslav@238 | 68 |
<executable>${exec.java.bin}</executable> |
jaroslav@238 | 69 |
<classpathScope>test</classpathScope> |
jaroslav@238 | 70 |
<arguments> |
jaroslav@238 | 71 |
<argument>-classpath</argument> |
jaroslav@238 | 72 |
<classpath/> |
jaroslav@238 | 73 |
<argument>-javaagent:${project.build.directory}/springloaded.jar</argument> |
jaroslav@238 | 74 |
<argument>-noverify</argument> |
jaroslav@238 | 75 |
<argument>-Dbrowser.rootdir=${basedir}/src/main/webapp/</argument> |
jaroslav@238 | 76 |
<argument>-Dnetbeans.inspect.port=${netbeans.inspect.port}</argument> |
jaroslav@238 | 77 |
<argument>${exec.debug.arg}</argument> |
jaroslav@238 | 78 |
<argument>${project.mainclass}</argument> |
jaroslav@238 | 79 |
</arguments> |
jaroslav@238 | 80 |
</configuration> |
jaroslav@238 | 81 |
</plugin> |
jaroslav@238 | 82 |
<plugin> |
jaroslav@238 | 83 |
<groupId>org.apache.maven.plugins</groupId> |
jaroslav@238 | 84 |
<artifactId>maven-dependency-plugin</artifactId> |
jaroslav@238 | 85 |
<version>2.10</version> |
jaroslav@238 | 86 |
<executions> |
jaroslav@238 | 87 |
<execution> |
jaroslav@238 | 88 |
<id>copy</id> |
jaroslav@238 | 89 |
<phase>package</phase> |
jaroslav@238 | 90 |
<goals> |
jaroslav@238 | 91 |
<goal>copy</goal> |
jaroslav@238 | 92 |
</goals> |
jaroslav@238 | 93 |
<configuration> |
jaroslav@238 | 94 |
<artifactItems> |
jaroslav@238 | 95 |
<artifactItem> |
jaroslav@238 | 96 |
<groupId>org.springframework</groupId> |
jaroslav@238 | 97 |
<artifactId>springloaded</artifactId> |
jaroslav@238 | 98 |
<version>1.2.3.RELEASE</version> |
jaroslav@238 | 99 |
<type>jar</type> |
jaroslav@238 | 100 |
<overWrite>false</overWrite> |
jaroslav@238 | 101 |
<destFileName>springloaded.jar</destFileName> |
jaroslav@238 | 102 |
</artifactItem> |
jaroslav@238 | 103 |
</artifactItems> |
jaroslav@238 | 104 |
<outputDirectory>${project.build.directory}</outputDirectory> |
jaroslav@238 | 105 |
</configuration> |
jaroslav@238 | 106 |
</execution> |
jaroslav@238 | 107 |
</executions> |
jaroslav@238 | 108 |
</plugin> |
jaroslav@238 | 109 |
<plugin> |
jaroslav@238 | 110 |
<artifactId>maven-assembly-plugin</artifactId> |
jaroslav@238 | 111 |
<version>2.4</version> |
jaroslav@238 | 112 |
<executions> |
jaroslav@238 | 113 |
<execution> |
jaroslav@238 | 114 |
<id>web-pages</id> |
jaroslav@238 | 115 |
<phase>package</phase> |
jaroslav@238 | 116 |
<goals> |
jaroslav@238 | 117 |
<goal>single</goal> |
jaroslav@238 | 118 |
</goals> |
jaroslav@238 | 119 |
<configuration> |
jaroslav@238 | 120 |
<descriptors> |
jaroslav@238 | 121 |
<descriptor>src/main/assembly/webpages.xml</descriptor> |
jaroslav@238 | 122 |
</descriptors> |
jaroslav@238 | 123 |
</configuration> |
jaroslav@238 | 124 |
</execution> |
jaroslav@238 | 125 |
</executions> |
jaroslav@238 | 126 |
</plugin> |
jtulach@13 | 127 |
</plugins> |
jtulach@13 | 128 |
</build> |
jtulach@13 | 129 |
<dependencies> |
jtulach@13 | 130 |
<dependency> |
jaroslav@238 | 131 |
<groupId>org.apidesign.demo</groupId> |
jaroslav@238 | 132 |
<artifactId>chat-js</artifactId> |
jaroslav@238 | 133 |
<version>${project.version}</version> |
jtulach@13 | 134 |
</dependency> |
jtulach@13 | 135 |
<dependency> |
jaroslav@238 | 136 |
<groupId>org.apidesign.demo</groupId> |
jaroslav@238 | 137 |
<artifactId>chat-shared</artifactId> |
jaroslav@238 | 138 |
<version>${project.version}</version> |
jaroslav@238 | 139 |
</dependency> |
jaroslav@238 | 140 |
<dependency> |
jaroslav@238 | 141 |
<groupId>org.netbeans.html</groupId> |
jaroslav@238 | 142 |
<artifactId>net.java.html</artifactId> |
jaroslav@238 | 143 |
<version>${net.java.html.version}</version> |
jaroslav@238 | 144 |
</dependency> |
jaroslav@238 | 145 |
<dependency> |
jaroslav@238 | 146 |
<groupId>org.netbeans.html</groupId> |
jaroslav@238 | 147 |
<artifactId>net.java.html.json</artifactId> |
jaroslav@238 | 148 |
<version>${net.java.html.version}</version> |
jaroslav@238 | 149 |
</dependency> |
jaroslav@238 | 150 |
<dependency> |
jaroslav@238 | 151 |
<groupId>org.netbeans.html</groupId> |
jaroslav@238 | 152 |
<artifactId>net.java.html.boot</artifactId> |
jaroslav@238 | 153 |
<version>${net.java.html.version}</version> |
jaroslav@238 | 154 |
</dependency> |
jaroslav@238 | 155 |
<dependency> |
jaroslav@238 | 156 |
<groupId>org.netbeans.html</groupId> |
jaroslav@238 | 157 |
<artifactId>net.java.html.sound</artifactId> |
jaroslav@238 | 158 |
<version>${net.java.html.version}</version> |
jaroslav@238 | 159 |
</dependency> |
jaroslav@238 | 160 |
<dependency> |
jaroslav@238 | 161 |
<groupId>org.netbeans.html</groupId> |
jaroslav@238 | 162 |
<artifactId>ko4j</artifactId> |
jaroslav@238 | 163 |
<version>${net.java.html.version}</version> |
jaroslav@238 | 164 |
<scope>runtime</scope> |
jtulach@13 | 165 |
</dependency> |
jtulach@13 | 166 |
<dependency> |
jtulach@13 | 167 |
<groupId>org.testng</groupId> |
jtulach@13 | 168 |
<artifactId>testng</artifactId> |
jaroslav@238 | 169 |
<scope>test</scope> |
jaroslav@238 | 170 |
</dependency> |
jaroslav@238 | 171 |
<dependency> |
jaroslav@238 | 172 |
<groupId>org.netbeans.html</groupId> |
jaroslav@238 | 173 |
<artifactId>net.java.html.boot.script</artifactId> |
jaroslav@238 | 174 |
<version>${net.java.html.version}</version> |
jtulach@13 | 175 |
<scope>test</scope> |
jtulach@13 | 176 |
<type>jar</type> |
jtulach@13 | 177 |
</dependency> |
jtulach@13 | 178 |
<dependency> |
jaroslav@238 | 179 |
<groupId>org.netbeans.html</groupId> |
jaroslav@238 | 180 |
<artifactId>net.java.html.boot.fx</artifactId> |
jaroslav@238 | 181 |
<version>${net.java.html.version}</version> |
jtulach@13 | 182 |
<scope>provided</scope> |
jtulach@13 | 183 |
</dependency> |
jtulach@13 | 184 |
</dependencies> |
jaroslav@238 | 185 |
<profiles> |
jaroslav@238 | 186 |
<profile> |
jaroslav@238 | 187 |
<id>desktop</id> |
jaroslav@238 | 188 |
<dependencies> |
jaroslav@238 | 189 |
<dependency> |
jaroslav@238 | 190 |
<groupId>org.netbeans.html</groupId> |
jaroslav@238 | 191 |
<artifactId>net.java.html.boot.fx</artifactId> |
jaroslav@238 | 192 |
<version>${net.java.html.version}</version> |
jaroslav@238 | 193 |
<scope>runtime</scope> |
jaroslav@238 | 194 |
</dependency> |
jaroslav@238 | 195 |
</dependencies> |
jaroslav@238 | 196 |
<build> |
jaroslav@238 | 197 |
<plugins> |
jaroslav@238 | 198 |
<plugin> |
jaroslav@238 | 199 |
<artifactId>maven-assembly-plugin</artifactId> |
jaroslav@238 | 200 |
<version>2.4</version> |
jaroslav@238 | 201 |
<executions> |
jaroslav@238 | 202 |
<execution> |
jaroslav@238 | 203 |
<id>distro-assembly</id> |
jaroslav@238 | 204 |
<phase>package</phase> |
jaroslav@238 | 205 |
<goals> |
jaroslav@238 | 206 |
<goal>single</goal> |
jaroslav@238 | 207 |
</goals> |
jaroslav@238 | 208 |
<configuration> |
jaroslav@238 | 209 |
<descriptors> |
jaroslav@238 | 210 |
<descriptor>src/main/assembly/javafx.xml</descriptor> |
jaroslav@238 | 211 |
</descriptors> |
jaroslav@238 | 212 |
</configuration> |
jaroslav@238 | 213 |
</execution> |
jaroslav@238 | 214 |
</executions> |
jaroslav@238 | 215 |
</plugin> |
jaroslav@238 | 216 |
</plugins> |
jaroslav@238 | 217 |
</build> |
jaroslav@238 | 218 |
</profile> |
jaroslav@238 | 219 |
</profiles> |
jtulach@13 | 220 |
</project> |