Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.09 KB

BUILD.md

File metadata and controls

34 lines (22 loc) · 1.09 KB

Prerequisites

  • Apache Maven, make sure you have the mvn command on your path.

Running ...

To run as a jar executable from a clean build

mvn -q clean package exec:java

Building from source

Use mvn to build the project with the defaultGoal "package".

mvn
(equivalently) mvn package

This creates packages in the ./target directory.

  • (signed java executable) visualizerLauncher-{version}-full.jar
  • (unsigned Mac OS X app) visualizerLauncher-{version}/VisualizerLauncher.app

To run the visualizer launcher with the java command

java -jar target/visualizerLauncher-{version}-full.jar

During the package phase the maven-jarsigner-plugin signs the jar file, the shade plugin creates an executable jar file, and the appbundle plugin creates the Mac OS X application bundler.

To use a different certificate ...

mvn -Dsignjar.keystore=${HOME}/.gp_build/genepattern-codesign.jks
    -Dsignjar.alias=codesign
    -Dsignjar.storepass=....

For more details ... consult the pom.xml file

mvn --help
mvn help:help -Ddetail=true