author | Jaroslav Tulach <jtulach@netbeans.org> |
Thu, 20 Jun 2013 13:18:10 +0200 | |
branch | classloader |
changeset 36 | 7ff8ac49cd8c |
parent 3 | c11de7bbb8a9 |
child 37 | 4a36b310c6da |
permissions | -rw-r--r-- |
jtulach@0 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
jtulach@0 | 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@0 | 3 |
<modelVersion>4.0.0</modelVersion> |
jtulach@0 | 4 |
|
jtulach@0 | 5 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@0 | 6 |
<artifactId>demo-twitter</artifactId> |
jtulach@0 | 7 |
<version>1.0-SNAPSHOT</version> |
jtulach@0 | 8 |
<packaging>jar</packaging> |
jtulach@0 | 9 |
<parent> |
jtulach@0 | 10 |
<groupId>org.apidesign.html</groupId> |
jtulach@0 | 11 |
<artifactId>demo</artifactId> |
jtulach@0 | 12 |
<version>1.0-SNAPSHOT</version> |
jtulach@0 | 13 |
</parent> |
jtulach@0 | 14 |
|
jtulach@0 | 15 |
<name>Fx/Bck2Brwsr's Twttr</name> |
jtulach@0 | 16 |
<description> |
jtulach@0 | 17 |
Rewrite of knockout.js example to use model written in Java and |
jtulach@0 | 18 |
execute using FxBrwsr or Bck2Brwsr. |
jtulach@0 | 19 |
</description> |
jtulach@0 | 20 |
|
jtulach@0 | 21 |
<properties> |
jtulach@0 | 22 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
jtulach@36 | 23 |
<net.java.html.version>0.4-SNAPSHOT</net.java.html.version> |
jtulach@36 | 24 |
<bck2brwsr.version>0.8-SNAPSHOT</bck2brwsr.version> |
jtulach@0 | 25 |
<bck2brwsr.obfuscationlevel>MINIMAL</bck2brwsr.obfuscationlevel> |
jtulach@0 | 26 |
<brwsr.startpage>org/apidesign/html/demo/twitter/index.html</brwsr.startpage> |
jtulach@0 | 27 |
</properties> |
jtulach@0 | 28 |
|
jtulach@0 | 29 |
<repositories> |
jtulach@0 | 30 |
<repository> |
jtulach@0 | 31 |
<id>java.net</id> |
jtulach@0 | 32 |
<name>Java.net</name> |
jtulach@3 | 33 |
<url>https://maven.java.net/content/repositories/releases/</url> |
jtulach@0 | 34 |
</repository> |
jtulach@0 | 35 |
</repositories> |
jtulach@0 | 36 |
<pluginRepositories> |
jtulach@0 | 37 |
<pluginRepository> |
jtulach@0 | 38 |
<id>java.net</id> |
jtulach@0 | 39 |
<name>Java.net</name> |
jtulach@3 | 40 |
<url>https://maven.java.net/content/repositories/releases/</url> |
jtulach@0 | 41 |
</pluginRepository> |
jtulach@0 | 42 |
</pluginRepositories> |
jtulach@0 | 43 |
|
jtulach@0 | 44 |
<build> |
jtulach@0 | 45 |
<plugins> |
jtulach@0 | 46 |
<plugin> |
jtulach@0 | 47 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@0 | 48 |
<artifactId>bck2brwsr-maven-plugin</artifactId> |
jtulach@0 | 49 |
<version>${bck2brwsr.version}</version> |
jtulach@0 | 50 |
<executions> |
jtulach@0 | 51 |
<execution> |
jtulach@0 | 52 |
<goals> |
jtulach@0 | 53 |
<goal>brwsr</goal> |
jtulach@0 | 54 |
</goals> |
jtulach@0 | 55 |
</execution> |
jtulach@0 | 56 |
</executions> |
jtulach@0 | 57 |
<configuration> |
jtulach@0 | 58 |
<startpage>${brwsr.startpage}</startpage> |
jtulach@0 | 59 |
<launcher>${brwsr}</launcher> |
jtulach@0 | 60 |
</configuration> |
jtulach@0 | 61 |
</plugin> |
jtulach@0 | 62 |
<plugin> |
jtulach@0 | 63 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@0 | 64 |
<artifactId>maven-compiler-plugin</artifactId> |
jtulach@0 | 65 |
<version>2.3.2</version> |
jtulach@0 | 66 |
<configuration> |
jtulach@0 | 67 |
<source>1.7</source> |
jtulach@0 | 68 |
<target>1.7</target> |
jtulach@0 | 69 |
</configuration> |
jtulach@0 | 70 |
</plugin> |
jtulach@0 | 71 |
<plugin> |
jtulach@0 | 72 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@0 | 73 |
<artifactId>maven-surefire-plugin</artifactId> |
jtulach@0 | 74 |
<version>2.14.1</version> |
jtulach@0 | 75 |
<configuration> |
jtulach@0 | 76 |
<systemPropertyVariables> |
jtulach@0 | 77 |
<vmtest.brwsrs>${brwsr}</vmtest.brwsrs> |
jtulach@0 | 78 |
</systemPropertyVariables> |
jtulach@0 | 79 |
</configuration> |
jtulach@0 | 80 |
</plugin> |
jtulach@0 | 81 |
<plugin> |
jtulach@0 | 82 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@0 | 83 |
<artifactId>maven-jar-plugin</artifactId> |
jtulach@0 | 84 |
<version>2.4</version> |
jtulach@0 | 85 |
<configuration> |
jtulach@0 | 86 |
<archive> |
jtulach@0 | 87 |
<manifest> |
jtulach@0 | 88 |
<addClasspath>true</addClasspath> |
jtulach@0 | 89 |
<classpathPrefix>lib/</classpathPrefix> |
jtulach@0 | 90 |
</manifest> |
jtulach@0 | 91 |
</archive> |
jtulach@0 | 92 |
</configuration> |
jtulach@0 | 93 |
</plugin> |
jtulach@0 | 94 |
<plugin> |
jtulach@0 | 95 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@0 | 96 |
<artifactId>maven-deploy-plugin</artifactId> |
jtulach@0 | 97 |
<version>2.7</version> |
jtulach@0 | 98 |
<configuration> |
jtulach@0 | 99 |
<skip>true</skip> |
jtulach@0 | 100 |
</configuration> |
jtulach@0 | 101 |
</plugin> |
jtulach@0 | 102 |
</plugins> |
jtulach@0 | 103 |
</build> |
jtulach@0 | 104 |
|
jtulach@0 | 105 |
<dependencies> |
jtulach@0 | 106 |
<dependency> |
jtulach@0 | 107 |
<groupId>org.testng</groupId> |
jtulach@0 | 108 |
<artifactId>testng</artifactId> |
jtulach@0 | 109 |
<version>6.5.2</version> |
jtulach@0 | 110 |
<scope>test</scope> |
jtulach@0 | 111 |
</dependency> |
jtulach@0 | 112 |
<dependency> |
jtulach@0 | 113 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@0 | 114 |
<artifactId>vmtest</artifactId> |
jtulach@0 | 115 |
<version>${bck2brwsr.version}</version> |
jtulach@0 | 116 |
<scope>test</scope> |
jtulach@0 | 117 |
</dependency> |
jtulach@0 | 118 |
<dependency> |
jtulach@0 | 119 |
<groupId>org.apidesign.html</groupId> |
jtulach@0 | 120 |
<artifactId>net.java.html.json</artifactId> |
jtulach@0 | 121 |
<version>${net.java.html.version}</version> |
jtulach@0 | 122 |
<type>jar</type> |
jtulach@0 | 123 |
</dependency> |
jtulach@36 | 124 |
<dependency> |
jtulach@36 | 125 |
<groupId>org.apidesign.html</groupId> |
jtulach@36 | 126 |
<artifactId>boot-fx</artifactId> |
jtulach@36 | 127 |
<version>0.4-SNAPSHOT</version> |
jtulach@36 | 128 |
<scope>runtime</scope> |
jtulach@36 | 129 |
</dependency> |
jtulach@0 | 130 |
</dependencies> |
jtulach@0 | 131 |
<profiles> |
jtulach@0 | 132 |
<profile> |
jtulach@0 | 133 |
<id>fxbrwsr</id> |
jtulach@0 | 134 |
<activation> |
jtulach@0 | 135 |
<activeByDefault>true</activeByDefault> |
jtulach@0 | 136 |
</activation> |
jtulach@0 | 137 |
<properties> |
jtulach@0 | 138 |
<brwsr>fxbrwsr</brwsr> |
jtulach@0 | 139 |
</properties> |
jtulach@0 | 140 |
<build> |
jtulach@0 | 141 |
<plugins> |
jtulach@0 | 142 |
<plugin> |
jtulach@0 | 143 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@0 | 144 |
<artifactId>maven-jar-plugin</artifactId> |
jtulach@0 | 145 |
<version>2.4</version> |
jtulach@0 | 146 |
<configuration> |
jtulach@0 | 147 |
<archive> |
jtulach@0 | 148 |
<manifest> |
jtulach@36 | 149 |
<mainClass>org.apidesign.html.demo.twitter.TwitterMain</mainClass> |
jtulach@0 | 150 |
<addClasspath>true</addClasspath> |
jtulach@0 | 151 |
<classpathPrefix>lib/</classpathPrefix> |
jtulach@0 | 152 |
</manifest> |
jtulach@0 | 153 |
<manifestEntries> |
jtulach@0 | 154 |
<StartPage>${brwsr.startpage}</StartPage> |
jtulach@0 | 155 |
</manifestEntries> |
jtulach@0 | 156 |
</archive> |
jtulach@0 | 157 |
</configuration> |
jtulach@0 | 158 |
</plugin> |
jtulach@0 | 159 |
<plugin> |
jtulach@0 | 160 |
<artifactId>maven-assembly-plugin</artifactId> |
jtulach@0 | 161 |
<version>2.4</version> |
jtulach@0 | 162 |
<executions> |
jtulach@0 | 163 |
<execution> |
jtulach@0 | 164 |
<id>distro-assembly</id> |
jtulach@0 | 165 |
<phase>package</phase> |
jtulach@0 | 166 |
<goals> |
jtulach@0 | 167 |
<goal>single</goal> |
jtulach@0 | 168 |
</goals> |
jtulach@0 | 169 |
<configuration> |
jtulach@0 | 170 |
<descriptors> |
jtulach@0 | 171 |
<descriptor>src/main/assembly/fxbrwsr.xml</descriptor> |
jtulach@0 | 172 |
</descriptors> |
jtulach@0 | 173 |
</configuration> |
jtulach@0 | 174 |
</execution> |
jtulach@0 | 175 |
</executions> |
jtulach@0 | 176 |
</plugin> |
jtulach@0 | 177 |
</plugins> |
jtulach@0 | 178 |
</build> |
jtulach@0 | 179 |
<dependencies> |
jtulach@0 | 180 |
<dependency> |
jtulach@0 | 181 |
<groupId>org.apidesign.html</groupId> |
jtulach@0 | 182 |
<artifactId>ko-fx</artifactId> |
jtulach@0 | 183 |
<version>${net.java.html.version}</version> |
jtulach@0 | 184 |
</dependency> |
jtulach@0 | 185 |
<dependency> |
jtulach@0 | 186 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@0 | 187 |
<artifactId>launcher.fx</artifactId> |
jtulach@0 | 188 |
<version>${bck2brwsr.version}</version> |
jtulach@0 | 189 |
<scope>runtime</scope> |
jtulach@0 | 190 |
</dependency> |
jtulach@0 | 191 |
</dependencies> |
jtulach@0 | 192 |
</profile> |
jtulach@0 | 193 |
<profile> |
jtulach@0 | 194 |
<id>bck2brwsr</id> |
jtulach@0 | 195 |
<activation> |
jtulach@0 | 196 |
<property> |
jtulach@0 | 197 |
<name>brwsr</name> |
jtulach@0 | 198 |
<value>bck2brwsr</value> |
jtulach@0 | 199 |
</property> |
jtulach@0 | 200 |
</activation> |
jtulach@0 | 201 |
<build> |
jtulach@0 | 202 |
<plugins> |
jtulach@0 | 203 |
<plugin> |
jtulach@0 | 204 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@0 | 205 |
<artifactId>bck2brwsr-maven-plugin</artifactId> |
jtulach@0 | 206 |
<executions> |
jtulach@0 | 207 |
<execution> |
jtulach@0 | 208 |
<goals> |
jtulach@0 | 209 |
<goal>j2js</goal> |
jtulach@0 | 210 |
</goals> |
jtulach@0 | 211 |
</execution> |
jtulach@0 | 212 |
</executions> |
jtulach@0 | 213 |
<configuration> |
jtulach@0 | 214 |
<javascript>${project.build.directory}/bck2brwsr.js</javascript> |
jtulach@0 | 215 |
<obfuscation>${bck2brwsr.obfuscationlevel}</obfuscation> |
jtulach@0 | 216 |
</configuration> |
jtulach@0 | 217 |
</plugin> |
jtulach@0 | 218 |
<plugin> |
jtulach@0 | 219 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@0 | 220 |
<artifactId>maven-compiler-plugin</artifactId> |
jtulach@0 | 221 |
<configuration> |
jtulach@0 | 222 |
<compilerArguments> |
jtulach@0 | 223 |
<bootclasspath>netbeans.ignore.jdk.bootclasspath</bootclasspath> |
jtulach@0 | 224 |
</compilerArguments> |
jtulach@0 | 225 |
</configuration> |
jtulach@0 | 226 |
</plugin> |
jtulach@0 | 227 |
<plugin> |
jtulach@0 | 228 |
<artifactId>maven-assembly-plugin</artifactId> |
jtulach@0 | 229 |
<version>2.4</version> |
jtulach@0 | 230 |
<executions> |
jtulach@0 | 231 |
<execution> |
jtulach@0 | 232 |
<id>distro-assembly</id> |
jtulach@0 | 233 |
<phase>package</phase> |
jtulach@0 | 234 |
<goals> |
jtulach@0 | 235 |
<goal>single</goal> |
jtulach@0 | 236 |
</goals> |
jtulach@0 | 237 |
<configuration> |
jtulach@0 | 238 |
<descriptors> |
jtulach@0 | 239 |
<descriptor>src/main/assembly/bck2brwsr.xml</descriptor> |
jtulach@0 | 240 |
</descriptors> |
jtulach@0 | 241 |
</configuration> |
jtulach@0 | 242 |
</execution> |
jtulach@0 | 243 |
</executions> |
jtulach@0 | 244 |
</plugin> |
jtulach@0 | 245 |
</plugins> |
jtulach@0 | 246 |
</build> |
jtulach@0 | 247 |
<dependencies> |
jtulach@0 | 248 |
<dependency> |
jtulach@0 | 249 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@0 | 250 |
<artifactId>emul</artifactId> |
jtulach@0 | 251 |
<version>${bck2brwsr.version}</version> |
jtulach@0 | 252 |
<classifier>rt</classifier> |
jtulach@0 | 253 |
</dependency> |
jtulach@0 | 254 |
<dependency> |
jtulach@0 | 255 |
<groupId>org.apidesign.html</groupId> |
jtulach@0 | 256 |
<artifactId>ko-bck2brwsr</artifactId> |
jtulach@0 | 257 |
<version>${net.java.html.version}</version> |
jtulach@0 | 258 |
<scope>runtime</scope> |
jtulach@0 | 259 |
</dependency> |
jtulach@0 | 260 |
<dependency> |
jtulach@0 | 261 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@0 | 262 |
<artifactId>launcher.http</artifactId> |
jtulach@0 | 263 |
<version>${bck2brwsr.version}</version> |
jtulach@0 | 264 |
<scope>test</scope> |
jtulach@0 | 265 |
</dependency> |
jtulach@0 | 266 |
</dependencies> |
jtulach@0 | 267 |
</profile> |
jtulach@0 | 268 |
</profiles> |
jtulach@0 | 269 |
</project> |