This commit is contained in:
Ziver Koc 2020-02-12 13:32:13 +01:00
parent 69dfa1ca0c
commit c1fd74bc8c
2 changed files with 3 additions and 20 deletions

1
Jenkinsfile vendored
View file

@ -30,7 +30,6 @@ node {
stage('Deploy') { stage('Deploy') {
sh "mvn ${mvnParams} releaser:release" sh "mvn ${mvnParams} releaser:release"
sh "mvn ${mvnParams} scm:tag"
} }
} }
} }

22
pom.xml
View file

@ -174,29 +174,13 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>sonatype-nexus-snapshot</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<artifactId>maven-scm-plugin</artifactId>
<version>1.11.2</version>
<configuration>
<tag>${project.version}</tag>
<connectionType>developerConnection</connectionType>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>com.github.danielflower.mavenplugins</groupId> <groupId>com.github.danielflower.mavenplugins</groupId>
<artifactId>multi-module-maven-release-plugin</artifactId> <artifactId>multi-module-maven-release-plugin</artifactId>
<version>3.2.0</version> <version>3.2.0</version>
<configuration>
<serverId>developerConnection</serverId>
</configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>