Skip to content

Commit 5faae44

Browse files
authored
Merge pull request #243 from data-integrations/mig_oss_cdf_611
CDAP OSS Migration for 6.11
2 parents a625e6c + 0ef2b9a commit 5faae44

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
@@ -45,31 +45,10 @@
4545
<url>https://issues.cask.co/browse/CDAP</url>
4646
</issueManagement>
4747

48-
<distributionManagement>
49-
<repository>
50-
<id>sonatype.release</id>
51-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
52-
</repository>
53-
<snapshotRepository>
54-
<id>sonatype.snapshots</id>
55-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
56-
</snapshotRepository>
57-
</distributionManagement>
58-
5948
<repositories>
60-
<repository>
61-
<id>sonatype</id>
62-
<url>https://oss.sonatype.org/content/groups/public</url>
63-
<releases>
64-
<enabled>true</enabled>
65-
</releases>
66-
<snapshots>
67-
<enabled>false</enabled>
68-
</snapshots>
69-
</repository>
7049
<repository>
7150
<id>sonatype-snapshots</id>
72-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
51+
<url>https://central.sonatype.com/repository/maven-snapshots</url>
7352
<releases>
7453
<enabled>false</enabled>
7554
</releases>
@@ -366,13 +345,14 @@
366345
<build>
367346
<plugins>
368347
<plugin>
369-
<groupId>org.sonatype.plugins</groupId>
370-
<artifactId>nexus-staging-maven-plugin</artifactId>
371-
<version>1.6.2</version>
348+
<groupId>org.sonatype.central</groupId>
349+
<artifactId>central-publishing-maven-plugin</artifactId>
350+
<version>0.8.0</version>
372351
<extensions>true</extensions>
373352
<configuration>
374-
<nexusUrl>https://oss.sonatype.org</nexusUrl>
375-
<serverId>sonatype.release</serverId>
353+
<publishingServerId>sonatype.release</publishingServerId>
354+
<autoPublish>false</autoPublish>
355+
<ignorePublishedComponents>true</ignorePublishedComponents>
376356
</configuration>
377357
</plugin>
378358
<!-- Source JAR -->

0 commit comments

Comments
 (0)