Skip to content

Commit 7a8cb35

Browse files
Using the new central-publishing-maven-plugin (#1396)
1 parent 6aa7870 commit 7a8cb35

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

spark-bigquery-parent/pom.xml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -944,31 +944,20 @@
944944
</profile>
945945
<profile>
946946
<id>release</id>
947-
<distributionManagement>
948-
<snapshotRepository>
949-
<id>ossrh</id>
950-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
951-
</snapshotRepository>
952-
<repository>
953-
<id>ossrh</id>
954-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
955-
</repository>
956-
</distributionManagement>
957947
<properties>
958948
<gpg.skip>false</gpg.skip>
959949
</properties>
960950
<build>
961951
<plugins>
962952
<plugin>
963-
<groupId>org.sonatype.plugins</groupId>
964-
<artifactId>nexus-staging-maven-plugin</artifactId>
965-
<version>1.6.13</version>
953+
<groupId>org.sonatype.central</groupId>
954+
<artifactId>central-publishing-maven-plugin</artifactId>
955+
<version>0.8.0</version>
966956
<extensions>true</extensions>
967957
<configuration>
968-
<serverId>ossrh</serverId>
969-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
970-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
971-
<skipRemoteStaging>${nexus.remote.skip}</skipRemoteStaging>
958+
<publishingServerId>central</publishingServerId>
959+
<autoPublish>false</autoPublish>
960+
<checksums>all</checksums>
972961
</configuration>
973962
</plugin>
974963
<plugin>

0 commit comments

Comments
 (0)