Skip to content

Commit 0c992ce

Browse files
committed
CDAP OSS Migration for develop
1 parent f41b0f8 commit 0c992ce

File tree

1 file changed

+7
-27
lines changed

1 file changed

+7
-27
lines changed

pom.xml

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -60,31 +60,10 @@
6060
<url>https://issues.cask.co/browse/CDAP</url>
6161
</issueManagement>
6262

63-
<distributionManagement>
64-
<repository>
65-
<id>sonatype.release</id>
66-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
67-
</repository>
68-
<snapshotRepository>
69-
<id>sonatype.snapshots</id>
70-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
71-
</snapshotRepository>
72-
</distributionManagement>
73-
7463
<repositories>
75-
<repository>
76-
<id>sonatype</id>
77-
<url>https://oss.sonatype.org/content/groups/public</url>
78-
<releases>
79-
<enabled>true</enabled>
80-
</releases>
81-
<snapshots>
82-
<enabled>false</enabled>
83-
</snapshots>
84-
</repository>
8564
<repository>
8665
<id>sonatype-snapshots</id>
87-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
66+
<url>https://central.sonatype.com/repository/maven-snapshots</url>
8867
<releases>
8968
<enabled>false</enabled>
9069
</releases>
@@ -381,13 +360,14 @@
381360
<build>
382361
<plugins>
383362
<plugin>
384-
<groupId>org.sonatype.plugins</groupId>
385-
<artifactId>nexus-staging-maven-plugin</artifactId>
386-
<version>1.6.14</version>
363+
<groupId>org.sonatype.central</groupId>
364+
<artifactId>central-publishing-maven-plugin</artifactId>
365+
<version>0.8.0</version>
387366
<extensions>true</extensions>
388367
<configuration>
389-
<nexusUrl>https://oss.sonatype.org</nexusUrl>
390-
<serverId>sonatype.release</serverId>
368+
<publishingServerId>sonatype.release</publishingServerId>
369+
<autoPublish>false</autoPublish>
370+
<ignorePublishedComponents>true</ignorePublishedComponents>
391371
</configuration>
392372
</plugin>
393373
<!-- Source JAR -->

0 commit comments

Comments
 (0)