Maven

From Ever changing code
Revision as of 18:02, 16 September 2017 by Pio2pio (talk | contribs) (Created page with "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 clo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.