Maven

From Ever changing code
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.