author | Jaroslav Tulach <jtulach@netbeans.org> |
Wed, 19 Feb 2014 13:59:42 +0100 | |
changeset 18172 | f4e3e2267188 |
parent 18171 | 95232a041be0 |
permissions | -rw-r--r-- |
jtulach@18017 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
jtulach@18017 | 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@18017 | 3 |
<modelVersion>4.0.0</modelVersion> |
jtulach@18017 | 4 |
|
jtulach@18017 | 5 |
<groupId>@GROUP@</groupId> |
jtulach@18017 | 6 |
<artifactId>@ARTIFACT@</artifactId> |
jtulach@18017 | 7 |
<version>1.0-SNAPSHOT</version> |
jtulach@18017 | 8 |
<packaging>jar</packaging> |
jtulach@18017 | 9 |
|
jtulach@18017 | 10 |
<name>@NAME@</name> |
jtulach@18017 | 11 |
|
jtulach@18017 | 12 |
<properties> |
jtulach@18017 | 13 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
jtulach@18171 | 14 |
<net.java.html.version>0.7.5</net.java.html.version> |
jtulach@18171 | 15 |
<bck2brwsr.version>0.8.1</bck2brwsr.version> |
jtulach@18017 | 16 |
<brwsr.startpage>pages/index.html</brwsr.startpage> |
jtulach@18017 | 17 |
<project.mainclass>@PKG@.Main</project.mainclass> |
jtulach@18017 | 18 |
<netbeans.compile.on.save>none</netbeans.compile.on.save> |
jtulach@18017 | 19 |
</properties> |
jtulach@18017 | 20 |
<build> |
jtulach@18017 | 21 |
<plugins> |
jtulach@18017 | 22 |
<plugin> |
jtulach@18171 | 23 |
<groupId>org.netbeans.html</groupId> |
jtulach@18171 | 24 |
<artifactId>html4j-maven-plugin</artifactId> |
jtulach@18171 | 25 |
<version>${net.java.html.version}</version> |
jtulach@18171 | 26 |
<executions> |
jtulach@18171 | 27 |
<execution> |
jtulach@18171 | 28 |
<id>js-classes</id> |
jtulach@18171 | 29 |
<goals> |
jtulach@18171 | 30 |
<goal>process-js-annotations</goal> |
jtulach@18171 | 31 |
</goals> |
jtulach@18171 | 32 |
</execution> |
jtulach@18171 | 33 |
</executions> |
jtulach@18171 | 34 |
</plugin> |
jtulach@18171 | 35 |
<plugin> |
jtulach@18017 | 36 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@18017 | 37 |
<artifactId>maven-compiler-plugin</artifactId> |
jtulach@18017 | 38 |
<version>2.3.2</version> |
jtulach@18017 | 39 |
<configuration> |
jtulach@18017 | 40 |
<source>1.7</source> |
jtulach@18017 | 41 |
<target>1.7</target> |
jtulach@18017 | 42 |
</configuration> |
jtulach@18017 | 43 |
</plugin> |
jtulach@18017 | 44 |
<plugin> |
jtulach@18017 | 45 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@18017 | 46 |
<artifactId>maven-jar-plugin</artifactId> |
jtulach@18017 | 47 |
<version>2.4</version> |
jtulach@18017 | 48 |
<configuration> |
jtulach@18017 | 49 |
<archive> |
jtulach@18017 | 50 |
<manifest> |
jtulach@18017 | 51 |
<mainClass>${project.mainclass}</mainClass> |
jtulach@18017 | 52 |
<addClasspath>true</addClasspath> |
jtulach@18017 | 53 |
<classpathPrefix>lib/</classpathPrefix> |
jtulach@18017 | 54 |
</manifest> |
jtulach@18017 | 55 |
</archive> |
jtulach@18017 | 56 |
</configuration> |
jtulach@18017 | 57 |
</plugin> |
jtulach@18017 | 58 |
<plugin> |
jtulach@18017 | 59 |
<groupId>org.codehaus.mojo</groupId> |
jtulach@18017 | 60 |
<artifactId>exec-maven-plugin</artifactId> |
jtulach@18017 | 61 |
<version>1.2.1</version> |
jtulach@18017 | 62 |
<configuration> |
jtulach@18017 | 63 |
<systemProperties> |
jtulach@18017 | 64 |
<systemProperty> |
jtulach@18017 | 65 |
<key>browser.rootdir</key> |
jtulach@18017 | 66 |
<value>${basedir}/src/main/webapp/</value> |
jtulach@18017 | 67 |
</systemProperty> |
jtulach@18017 | 68 |
</systemProperties> |
jtulach@18017 | 69 |
<mainClass>${project.mainclass}</mainClass> |
jtulach@18017 | 70 |
</configuration> |
jtulach@18017 | 71 |
</plugin> |
jtulach@18017 | 72 |
</plugins> |
jtulach@18017 | 73 |
</build> |
jtulach@18017 | 74 |
<dependencies> |
jtulach@18017 | 75 |
<dependency> |
jtulach@18107 | 76 |
<groupId>org.netbeans.html</groupId> |
jtulach@18017 | 77 |
<artifactId>net.java.html.json</artifactId> |
jtulach@18017 | 78 |
<version>${net.java.html.version}</version> |
jtulach@18017 | 79 |
</dependency> |
jtulach@18017 | 80 |
<dependency> |
jtulach@18107 | 81 |
<groupId>org.netbeans.html</groupId> |
jtulach@18017 | 82 |
<artifactId>net.java.html.boot</artifactId> |
jtulach@18017 | 83 |
<version>${net.java.html.version}</version> |
jtulach@18017 | 84 |
</dependency> |
jtulach@18017 | 85 |
<dependency> |
jtulach@18017 | 86 |
<groupId>org.testng</groupId> |
jtulach@18017 | 87 |
<artifactId>testng</artifactId> |
jtulach@18017 | 88 |
<version>6.7</version> |
jtulach@18017 | 89 |
<scope>test</scope> |
jtulach@18017 | 90 |
</dependency> |
jtulach@18017 | 91 |
</dependencies> |
jtulach@18017 | 92 |
<profiles> |
jtulach@18017 | 93 |
<profile> |
jtulach@18017 | 94 |
<id>fxbrwsr</id> |
jtulach@18017 | 95 |
<activation> |
jtulach@18017 | 96 |
<activeByDefault>true</activeByDefault> |
jtulach@18017 | 97 |
</activation> |
jtulach@18017 | 98 |
<build> |
jtulach@18017 | 99 |
<plugins> |
jtulach@18017 | 100 |
<plugin> |
jtulach@18017 | 101 |
<artifactId>maven-assembly-plugin</artifactId> |
jtulach@18017 | 102 |
<version>2.4</version> |
jtulach@18017 | 103 |
<executions> |
jtulach@18017 | 104 |
<execution> |
jtulach@18017 | 105 |
<id>distro-assembly</id> |
jtulach@18017 | 106 |
<phase>package</phase> |
jtulach@18017 | 107 |
<goals> |
jtulach@18017 | 108 |
<goal>single</goal> |
jtulach@18017 | 109 |
</goals> |
jtulach@18017 | 110 |
<configuration> |
jtulach@18017 | 111 |
<descriptors> |
jtulach@18017 | 112 |
<descriptor>src/main/assembly/html.java.net.xml</descriptor> |
jtulach@18017 | 113 |
</descriptors> |
jtulach@18017 | 114 |
</configuration> |
jtulach@18017 | 115 |
</execution> |
jtulach@18017 | 116 |
</executions> |
jtulach@18017 | 117 |
</plugin> |
jtulach@18017 | 118 |
</plugins> |
jtulach@18017 | 119 |
</build> |
jtulach@18017 | 120 |
<dependencies> |
jtulach@18017 | 121 |
<dependency> |
jtulach@18107 | 122 |
<groupId>org.netbeans.html</groupId> |
jtulach@18107 | 123 |
<artifactId>ko4j</artifactId> |
jtulach@18017 | 124 |
<version>${net.java.html.version}</version> |
jtulach@18017 | 125 |
<scope>runtime</scope> |
jtulach@18017 | 126 |
</dependency> |
jtulach@18017 | 127 |
<dependency> |
jtulach@18107 | 128 |
<groupId>org.netbeans.html</groupId> |
jtulach@18130 | 129 |
<artifactId>net.java.html.boot.fx</artifactId> |
jtulach@18017 | 130 |
<version>${net.java.html.version}</version> |
jtulach@18017 | 131 |
<scope>runtime</scope> |
jtulach@18017 | 132 |
</dependency> |
jtulach@18017 | 133 |
</dependencies> |
jtulach@18017 | 134 |
</profile> |
jtulach@18017 | 135 |
<profile> |
jtulach@18017 | 136 |
<id>bck2brwsr</id> |
jtulach@18017 | 137 |
<activation> |
jtulach@18017 | 138 |
<property> |
jtulach@18017 | 139 |
<name>brwsr</name> |
jtulach@18017 | 140 |
<value>bck2brwsr</value> |
jtulach@18017 | 141 |
</property> |
jtulach@18017 | 142 |
</activation> |
jtulach@18017 | 143 |
<build> |
jtulach@18017 | 144 |
<plugins> |
jtulach@18017 | 145 |
<plugin> |
jtulach@18172 | 146 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@18172 | 147 |
<artifactId>maven-compiler-plugin</artifactId> |
jtulach@18172 | 148 |
<configuration> |
jtulach@18172 | 149 |
<compilerArguments> |
jtulach@18172 | 150 |
<bootclasspath>netbeans.ignore.jdk.bootclasspath</bootclasspath> |
jtulach@18172 | 151 |
</compilerArguments> |
jtulach@18172 | 152 |
<testExcludes> |
jtulach@18172 | 153 |
<exclude>**/JsInteractionTest*</exclude> |
jtulach@18172 | 154 |
</testExcludes> |
jtulach@18172 | 155 |
</configuration> |
jtulach@18172 | 156 |
</plugin> |
jtulach@18172 | 157 |
<plugin> |
jtulach@18017 | 158 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@18017 | 159 |
<artifactId>bck2brwsr-maven-plugin</artifactId> |
jtulach@18017 | 160 |
<version>${bck2brwsr.version}</version> |
jtulach@18017 | 161 |
<executions> |
jtulach@18017 | 162 |
<execution> |
jtulach@18017 | 163 |
<goals> |
jtulach@18017 | 164 |
<goal>brwsr</goal> |
jtulach@18017 | 165 |
</goals> |
jtulach@18017 | 166 |
</execution> |
jtulach@18017 | 167 |
</executions> |
jtulach@18017 | 168 |
<configuration> |
jtulach@18017 | 169 |
<directory>${basedir}/src/main/webapp/</directory> |
jtulach@18017 | 170 |
<startpage>${brwsr.startpage}</startpage> |
jtulach@18017 | 171 |
</configuration> |
jtulach@18017 | 172 |
</plugin> |
jtulach@18017 | 173 |
<plugin> |
jtulach@18017 | 174 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@18017 | 175 |
<artifactId>maven-compiler-plugin</artifactId> |
jtulach@18017 | 176 |
<configuration> |
jtulach@18017 | 177 |
<compilerArguments> |
jtulach@18017 | 178 |
<bootclasspath>netbeans.ignore.jdk.bootclasspath</bootclasspath> |
jtulach@18017 | 179 |
</compilerArguments> |
jtulach@18017 | 180 |
</configuration> |
jtulach@18017 | 181 |
</plugin> |
jtulach@18017 | 182 |
<plugin> |
jtulach@18017 | 183 |
<artifactId>maven-assembly-plugin</artifactId> |
jtulach@18017 | 184 |
<version>2.4</version> |
jtulach@18017 | 185 |
<executions> |
jtulach@18017 | 186 |
<execution> |
jtulach@18017 | 187 |
<id>distro-assembly</id> |
jtulach@18017 | 188 |
<phase>package</phase> |
jtulach@18017 | 189 |
<goals> |
jtulach@18017 | 190 |
<goal>single</goal> |
jtulach@18017 | 191 |
</goals> |
jtulach@18017 | 192 |
<configuration> |
jtulach@18017 | 193 |
<descriptors> |
jtulach@18017 | 194 |
<descriptor>src/main/assembly/bck2brwsr.xml</descriptor> |
jtulach@18017 | 195 |
</descriptors> |
jtulach@18017 | 196 |
</configuration> |
jtulach@18017 | 197 |
</execution> |
jtulach@18017 | 198 |
</executions> |
jtulach@18017 | 199 |
</plugin> |
jtulach@18017 | 200 |
</plugins> |
jtulach@18017 | 201 |
</build> |
jtulach@18017 | 202 |
<dependencies> |
jtulach@18017 | 203 |
<dependency> |
jtulach@18017 | 204 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@18017 | 205 |
<artifactId>emul</artifactId> |
jtulach@18017 | 206 |
<version>${bck2brwsr.version}</version> |
jtulach@18017 | 207 |
<classifier>rt</classifier> |
jtulach@18017 | 208 |
</dependency> |
jtulach@18017 | 209 |
<dependency> |
jtulach@18017 | 210 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@18017 | 211 |
<artifactId>ko-bck2brwsr</artifactId> |
jtulach@18017 | 212 |
<version>${bck2brwsr.version}</version> |
jtulach@18017 | 213 |
<scope>runtime</scope> |
jtulach@18017 | 214 |
</dependency> |
jtulach@18017 | 215 |
<dependency> |
jtulach@18017 | 216 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@18017 | 217 |
<artifactId>vm4brwsr</artifactId> |
jtulach@18017 | 218 |
<classifier>js</classifier> |
jtulach@18017 | 219 |
<type>zip</type> |
jtulach@18017 | 220 |
<version>${bck2brwsr.version}</version> |
jtulach@18017 | 221 |
<scope>provided</scope> |
jtulach@18017 | 222 |
</dependency> |
jtulach@18017 | 223 |
</dependencies> |
jtulach@18017 | 224 |
</profile> |
jtulach@18017 | 225 |
</profiles> |
jtulach@18017 | 226 |
</project> |