1.1 --- a/javaquery/demo-twitter/pom.xml Mon Apr 29 08:37:23 2013 +0200
1.2 +++ b/javaquery/demo-twitter/pom.xml Mon Apr 29 09:53:45 2013 +0200
1.3 @@ -45,6 +45,7 @@
1.4 <properties>
1.5 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1.6 <bck2brwsr.obfuscationlevel>MINIMAL</bck2brwsr.obfuscationlevel>
1.7 + <brwsr.startpage>org/apidesign/bck2brwsr/demo/twitter/index.html</brwsr.startpage>
1.8 </properties>
1.9 <build>
1.10 <plugins>
1.11 @@ -60,7 +61,7 @@
1.12 </execution>
1.13 </executions>
1.14 <configuration>
1.15 - <startpage>org/apidesign/bck2brwsr/demo/twitter/index.html</startpage>
1.16 + <startpage>${brwsr.startpage}</startpage>
1.17 <launcher>${brwsr}</launcher>
1.18 </configuration>
1.19 </plugin>
1.20 @@ -136,6 +137,45 @@
1.21 <properties>
1.22 <brwsr>fxbrwsr</brwsr>
1.23 </properties>
1.24 + <build>
1.25 + <plugins>
1.26 + <plugin>
1.27 + <groupId>org.apache.maven.plugins</groupId>
1.28 + <artifactId>maven-jar-plugin</artifactId>
1.29 + <version>2.4</version>
1.30 + <configuration>
1.31 + <archive>
1.32 + <manifest>
1.33 + <mainClass>org.apidesign.bck2brwsr.launcher.FXBrwsrLauncher</mainClass>
1.34 + <addClasspath>true</addClasspath>
1.35 + <classpathPrefix>lib/</classpathPrefix>
1.36 + </manifest>
1.37 + <manifestEntries>
1.38 + <StartPage>${brwsr.startpage}</StartPage>
1.39 + </manifestEntries>
1.40 + </archive>
1.41 + </configuration>
1.42 + </plugin>
1.43 + <plugin>
1.44 + <artifactId>maven-assembly-plugin</artifactId>
1.45 + <version>2.4</version>
1.46 + <executions>
1.47 + <execution>
1.48 + <id>distro-assembly</id>
1.49 + <phase>package</phase>
1.50 + <goals>
1.51 + <goal>single</goal>
1.52 + </goals>
1.53 + <configuration>
1.54 + <descriptors>
1.55 + <descriptor>src/main/assembly/fxbrwsr.xml</descriptor>
1.56 + </descriptors>
1.57 + </configuration>
1.58 + </execution>
1.59 + </executions>
1.60 + </plugin>
1.61 + </plugins>
1.62 + </build>
1.63 <dependencies>
1.64 <dependency>
1.65 <groupId>org.apidesign.html</groupId>
1.66 @@ -146,7 +186,7 @@
1.67 <groupId>${project.groupId}</groupId>
1.68 <artifactId>launcher.fx</artifactId>
1.69 <version>${project.version}</version>
1.70 - <scope>test</scope>
1.71 + <scope>runtime</scope>
1.72 </dependency>
1.73 </dependencies>
1.74 </profile>