Difference between revisions of "Java"
From Wasya Wiki
(Created page with "* Jenkins * Sonatype Nexus * Tomcat * Maven * Sonarqube === Build and Deploy (via Maven) to Nexus with a git push === === Deploy an artifact from Nexus t...") |
|||
Line 4: | Line 4: | ||
* [[Maven]] | * [[Maven]] | ||
* [[Sonarqube]] | * [[Sonarqube]] | ||
+ | |||
+ | * How do you run a maven build from jenkins? | ||
+ | |||
+ | === Install Java === | ||
+ | From: https://www.digitalocean.com/community/tutorials/como-instalar-o-java-no-ubuntu-com-apt-get-pt | ||
+ | |||
+ | === Build with Maven === | ||
+ | |||
+ | mvn clean install | ||
+ | mvn test | ||
+ | sudo apt-get install tomcat7 tomcat7-docs tomcat7-admin | ||
+ | mvn tomcat7:run | ||
+ | mvn clean deploy # deploys from nexus to tomcat? | ||
+ | # http://www.baeldung.com/maven-deploy-nexus | ||
=== Build and Deploy (via Maven) to Nexus with a git push === | === Build and Deploy (via Maven) to Nexus with a git push === | ||
=== Deploy an artifact from Nexus to Tomcat === | === Deploy an artifact from Nexus to Tomcat === |
Revision as of 00:57, 29 October 2015
- How do you run a maven build from jenkins?
Contents
Install Java
From: https://www.digitalocean.com/community/tutorials/como-instalar-o-java-no-ubuntu-com-apt-get-pt
Build with Maven
mvn clean install mvn test sudo apt-get install tomcat7 tomcat7-docs tomcat7-admin mvn tomcat7:run mvn clean deploy # deploys from nexus to tomcat? # http://www.baeldung.com/maven-deploy-nexus