BLD maven add DistributionManagement
de.nclazz/maven-boot/pipeline/head There was a failure building this commit Details

develop
Niclas Thobaben 2020-11-30 23:29:48 +01:00
parent 31bfbd71a5
commit 6790a7a8db
2 changed files with 14 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -17,7 +17,7 @@ pipeline {
stage('deploy') {
steps {
sh 'mvn help:effective-settings '
sh 'mvn deploy -Prelease'
sh 'mvn deploy'
}
}
}

13
pom.xml
View File

@ -7,6 +7,19 @@
<version>1.0.0</version>
<packaging>pom</packaging>
<distributionManagement>
<repository>
<id>nexus.niclas-thobaben.de</id>
<name>NClazz Release Repository</name>
<url>https://nexus.niclas-thobaben.de/repository/maven-releases/</url>
</repository>
<snapshotRepository>
<id>nexus.niclas-thobaben.de</id>
<name>NClazz Snapshot Repository</name>
<url>https://nexus.niclas-thobaben.de/repository/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>