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>
|
<snakeyaml.version>2.0</snakeyaml.version>
|
||||||
<testcontainers.version>1.20.0</testcontainers.version>
|
<testcontainers.version>1.20.0</testcontainers.version>
|
||||||
<springboot.version>3.4.3</springboot.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>
|
</properties>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<snapshotRepository>
|
<snapshotRepository>
|
||||||
<id>ossrh</id>
|
<id>central</id>
|
||||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
|
||||||
</snapshotRepository>
|
</snapshotRepository>
|
||||||
<site>
|
<site>
|
||||||
<id>localDocsDirectory</id>
|
<id>localDocsDirectory</id>
|
||||||
<url>file:${maven.multiModuleProjectDirectory}/docs/</url>
|
<url>file:${maven.multiModuleProjectDirectory}/docs/</url>
|
||||||
</site>
|
</site>
|
||||||
<!-- Use default repository -->
|
|
||||||
<!-- <repository>
|
|
||||||
<id>ossrh</id>
|
|
||||||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
||||||
</repository> -->
|
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
|
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
|
|
@ -164,24 +159,20 @@
|
||||||
<version>${maven-resources-plugin.version}</version>
|
<version>${maven-resources-plugin.version}</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
<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>${nexus-staging-maven-plugin.version}</version>
|
<version>${central-publishing-maven-plugin.version}</version>
|
||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<serverId>ossrh</serverId>
|
<publishingServerId>central</publishingServerId>
|
||||||
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
<autoPublish>true</autoPublish>
|
||||||
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
<waitUntil>published</waitUntil>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
|
||||||
<groupId>org.sonatype.plugins</groupId>
|
|
||||||
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
||||||
<inherited>false</inherited>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.jacoco</groupId>
|
<groupId>org.jacoco</groupId>
|
||||||
<artifactId>jacoco-maven-plugin</artifactId>
|
<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_KEY: the name of the GPG key file to use for signing e.g. F784FAB8
|
||||||
GPG_PWD: the password to access the GPG key
|
GPG_PWD: the password to access the GPG key
|
||||||
-->
|
-->
|
||||||
|
|
@ -7,7 +7,7 @@ GPG_PWD: the password to access the GPG key
|
||||||
<settings>
|
<settings>
|
||||||
<servers>
|
<servers>
|
||||||
<server>
|
<server>
|
||||||
<id>ossrh</id>
|
<id>central</id>
|
||||||
<username>${env.OSSRH_USER_TOKEN}</username>
|
<username>${env.OSSRH_USER_TOKEN}</username>
|
||||||
<password>${env.OSSRH_PWD_TOKEN}</password>
|
<password>${env.OSSRH_PWD_TOKEN}</password>
|
||||||
</server>
|
</server>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue