chore: migrate to new publish
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
This commit is contained in:
parent
957c0d1ba3
commit
5425a34a12
15
pom.xml
15
pom.xml
|
|
@ -520,14 +520,13 @@
|
||||||
<plugins>
|
<plugins>
|
||||||
<!-- Begin publish to maven central -->
|
<!-- Begin publish to maven central -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.sonatype.plugins</groupId>
|
<groupId>org.sonatype.central</groupId>
|
||||||
<artifactId>nexus-staging-maven-plugin</artifactId>
|
<artifactId>central-publishing-maven-plugin</artifactId>
|
||||||
<version>1.7.0</version>
|
<version>0.8.0</version>
|
||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<serverId>ossrh</serverId>
|
<publishingServerId>central</publishingServerId>
|
||||||
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
|
<autoPublish>true</autoPublish>
|
||||||
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- End publish to maven central -->
|
<!-- End publish to maven central -->
|
||||||
|
|
@ -711,8 +710,8 @@
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<snapshotRepository>
|
<snapshotRepository>
|
||||||
<id>ossrh</id>
|
<id>central</id>
|
||||||
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
|
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
|
||||||
</snapshotRepository>
|
</snapshotRepository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,5 +5,10 @@
|
||||||
<username>${env.OSSRH_USERNAME}</username>
|
<username>${env.OSSRH_USERNAME}</username>
|
||||||
<password>${env.OSSRH_PASSWORD}</password>
|
<password>${env.OSSRH_PASSWORD}</password>
|
||||||
</server>
|
</server>
|
||||||
|
<server>
|
||||||
|
<id>central</id>
|
||||||
|
<username>${env.CENTRAL_USERNAME}</username>
|
||||||
|
<password>${env.CENTRAL_PASSWORD}</password>
|
||||||
|
</server>
|
||||||
</servers>
|
</servers>
|
||||||
</settings>
|
</settings>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue