Skip to content

Commit 2ec8cc5

Browse files
committed
cdap oss migration for azure
1 parent 773f7a8 commit 2ec8cc5

File tree

1 file changed

+6
-30
lines changed

1 file changed

+6
-30
lines changed

pom.xml

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -62,32 +62,7 @@
6262
<url>https://issues.cask.co/browse/CDAP</url>
6363
</issueManagement>
6464

65-
<distributionManagement>
66-
<repository>
67-
<id>sonatype.release</id>
68-
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2</url>
69-
</repository>
70-
<snapshotRepository>
71-
<id>sonatype.snapshots</id>
72-
<url>https://central.sonatype.com/repository/maven-snapshots</url>
73-
</snapshotRepository>
74-
<site>
75-
<id>cdap</id>
76-
<url>http://cdap.io</url>
77-
</site>
78-
</distributionManagement>
79-
8065
<repositories>
81-
<repository>
82-
<id>sonatype</id>
83-
<url>https://ossrh-staging-api.central.sonatype.com/content/groups/public</url>
84-
<releases>
85-
<enabled>true</enabled>
86-
</releases>
87-
<snapshots>
88-
<enabled>false</enabled>
89-
</snapshots>
90-
</repository>
9166
<repository>
9267
<id>sonatype-snapshots</id>
9368
<url>https://central.sonatype.com/repository/maven-snapshots</url>
@@ -311,13 +286,14 @@
311286
<build>
312287
<plugins>
313288
<plugin>
314-
<groupId>org.sonatype.plugins</groupId>
315-
<artifactId>nexus-staging-maven-plugin</artifactId>
316-
<version>1.6.14</version>
289+
<groupId>org.sonatype.central</groupId>
290+
<artifactId>central-publishing-maven-plugin</artifactId>
291+
<version>0.8.0</version>
317292
<extensions>true</extensions>
318293
<configuration>
319-
<nexusUrl>https://ossrh-staging-api.central.sonatype.com</nexusUrl>
320-
<serverId>sonatype.release</serverId>
294+
<publishingServerId>sonatype.release</publishingServerId>
295+
<autoPublish>false</autoPublish>
296+
<ignorePublishedComponents>true</ignorePublishedComponents>
321297
</configuration>
322298
</plugin>
323299
<!-- Source JAR -->

0 commit comments

Comments
 (0)