Difference between revisions of "Maven"

From Ever changing code
Jump to navigation Jump to search
(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...")
 
(No difference)

Latest revision as of 18:02, 16 September 2017

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.