Maven

From Ever changing code
Jump to navigation Jump to search

Build JAR files using maven tool

Install mvn tool

sudo apt-get install maven

Clone repository (Java code) and navigate to directory containing pom.xml project file

git clone https://github.com/jenkinsci/swarm-plugin
cd swarm-plugin/client/

Build a package

mvn package   # use -e or -X for debugging mode

Navigate to target directory to find the jar binary.