https://github.com/F1000Research/genomespace-cytoscape-weblaunch
Tip revision: 2f316e1b3f434c5ba8ea12848e4b3a296018a11f authored by Tim Hull on 02 June 2014, 18:31:08 UTC
Updated for Cytoscape 3.1.1
Updated for Cytoscape 3.1.1
Tip revision: 2f316e1
pom.xml
<!-- Test project which creates and signs a jar artifact -->
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>cytoscape</groupId>
<artifactId>genomespace-cytoscape-weblaunch</artifactId>
<name>GenomeSpace Cytoscape Weblaunch</name>
<version>2.0.2</version>
<!-- This is the url used to define the codebase of the jnlp file. -->
<url>${webstart.url}</url>
<!-- bootstrap for cytoscape dependencies, namely the parent POM snapshots -->
<repositories>
<repository>
<id>cytoscape_snapshots</id>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
<name>Cytoscape Snapshots</name>
<url>http://code.cytoscape.org/nexus/content/repositories/snapshots/</url>
</repository>
<repository>
<id>cytoscape_releases</id>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
<name>Cytoscape Releases</name>
<url>http://code.cytoscape.org/nexus/content/repositories/releases/</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<archive>
<manifestEntries>
<Application-Name>Cytoscape 3</Application-Name>
<Permissions>all-permissions</Permissions>
<Codebase>http://chianti.ucsd.edu</Codebase>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>webstart-maven-plugin</artifactId>
<version>1.0-beta-3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jnlp-inline</goal>
</goals>
</execution>
</executions>
<configuration>
<excludeTransitive>true</excludeTransitive>
<resourcesDirectory>${project.basedir}/src/main/resources</resourcesDirectory>
<libPath>lib</libPath>
<jnlp>
<inputTemplateResourcePath>${project.basedir}/src/main/jnlp</inputTemplateResourcePath>
<inputTemplate>template.vm</inputTemplate>
<outputFile>cytoscape.php</outputFile>
<mainClass>cytoscape.weblaunch.LaunchHelper</mainClass>
</jnlp>
<!-- If this is your first time using Webstart you must create a keystore:
keytool -genkey -alias cytoscape -keypass secret enter "secret" for the password.
The actual keystore file created is assumed to be in: ${user.home}/.keystore -->
<sign>
<keypass>secret</keypass>
<storepass>secret</storepass>
<alias>cytoscape</alias>
<verify>true</verify>
</sign>
<verbose>true</verbose>
</configuration>
</plugin>
</plugins>
</build>
</project>