mirror of https://github.com/dapr/java-sdk.git
[1.14] Fix release pipeline: Migrate to Central Publisher Portal (#1473)
* fix release pipeline Signed-off-by: Cassandra Coyle <cassie@diagrid.io> * fix url Signed-off-by: Cassandra Coyle <cassie@diagrid.io> * cleanup and update id=central Signed-off-by: Cassandra Coyle <cassie@diagrid.io> --------- Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
This commit is contained in:
parent
1f7369ebc5
commit
71707d2f22
29
pom.xml
29
pom.xml
|
|
@ -46,23 +46,18 @@
|
|||
<snakeyaml.version>2.0</snakeyaml.version>
|
||||
<testcontainers.version>1.20.0</testcontainers.version>
|
||||
<springboot.version>3.4.3</springboot.version>
|
||||
<nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version>
|
||||
<central-publishing-maven-plugin.version>0.8.0</central-publishing-maven-plugin.version>
|
||||
</properties>
|
||||
|
||||
<distributionManagement>
|
||||
<snapshotRepository>
|
||||
<id>ossrh</id>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
<id>central</id>
|
||||
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
|
||||
</snapshotRepository>
|
||||
<site>
|
||||
<id>localDocsDirectory</id>
|
||||
<url>file:${maven.multiModuleProjectDirectory}/docs/</url>
|
||||
</site>
|
||||
<!-- Use default repository -->
|
||||
<!-- <repository>
|
||||
<id>ossrh</id>
|
||||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
||||
</repository> -->
|
||||
</distributionManagement>
|
||||
|
||||
<dependencyManagement>
|
||||
|
|
@ -164,24 +159,20 @@
|
|||
<version>${maven-resources-plugin.version}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.sonatype.plugins</groupId>
|
||||
<artifactId>nexus-staging-maven-plugin</artifactId>
|
||||
<version>${nexus-staging-maven-plugin.version}</version>
|
||||
<groupId>org.sonatype.central</groupId>
|
||||
<artifactId>central-publishing-maven-plugin</artifactId>
|
||||
<version>${central-publishing-maven-plugin.version}</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<serverId>ossrh</serverId>
|
||||
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
||||
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
||||
<publishingServerId>central</publishingServerId>
|
||||
<autoPublish>true</autoPublish>
|
||||
<waitUntil>published</waitUntil>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.sonatype.plugins</groupId>
|
||||
<artifactId>nexus-staging-maven-plugin</artifactId>
|
||||
<inherited>false</inherited>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
OSSRH_USER_TOKEN and OSSRH-PWD_TOKEN: The username and password tokens for your OSSRH account
|
||||
OSSRH_USER_TOKEN and OSSRH_PWD_TOKEN: The username and password tokens for your OSSRH account
|
||||
GPG_KEY: the name of the GPG key file to use for signing e.g. F784FAB8
|
||||
GPG_PWD: the password to access the GPG key
|
||||
-->
|
||||
|
|
@ -7,7 +7,7 @@ GPG_PWD: the password to access the GPG key
|
|||
<settings>
|
||||
<servers>
|
||||
<server>
|
||||
<id>ossrh</id>
|
||||
<id>central</id>
|
||||
<username>${env.OSSRH_USER_TOKEN}</username>
|
||||
<password>${env.OSSRH_PWD_TOKEN}</password>
|
||||
</server>
|
||||
|
|
|
|||
Loading…
Reference in New Issue