diff --git a/Jenkinsfile b/Jenkinsfile index cde1c23..eb4d8b4 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,14 +29,9 @@ node { sh "git push 'https://${USERNAME}:${PASSWORD}@${env.REPO_URL}' ${env.BUILD_NAME}" } } + + stage('Deploy') { + sh 'mvn -DskipStatic -DskipTests deploy' + } } } - -//stage('Deploy') { -// timeout(time: 5, unit: 'HOURS') { -// input message: 'Deploy?', submitter: 'ziver' -// node { -// sh 'mvn deploy' -// } -// } -//} diff --git a/pom.xml b/pom.xml index 85a497b..76cb6e8 100755 --- a/pom.xml +++ b/pom.xml @@ -7,8 +7,30 @@ koc.se zutil 1.0.0-SNAPSHOT + jar Zutil + A library containuin utility classes and code snippets + + + + MIT License + http://www.opensource.org/licenses/mit-license.php + + + + + + Ziver Koc + ziver@koc.se + + + + + scm:git:https://github.com/Ziver/zutil.git + scm:git:https://github.com/Ziver/zutil.git + https://github.com/Ziver/zutil + 1.8 @@ -89,7 +111,74 @@ ${java.version} + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + -Xdoclint:none + + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + sonatype-nexus + https://oss.sonatype.org/ + true + + + + + sonatype-nexus + Sonatype Nexus Snapshots + http://oss.sonatype.org/content/repositories/snapshots + + + sonatype-nexus + Nexus Release Repository + http://oss.sonatype.org/service/local/staging/deploy/maven2/ + + +