Skip to content

Commit 591ca90

Browse files
authored
Merge pull request #118 from data-integrations/mig_oss_cdf_611
CDAP OSS Migration for 6.11
2 parents 3ecf2fd + 87f88cb commit 591ca90

File tree

1 file changed

+7
-31
lines changed

1 file changed

+7
-31
lines changed

pom.xml

Lines changed: 7 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,6 @@
5757
<tag>HEAD</tag>
5858
</scm>
5959

60-
<distributionManagement>
61-
<repository>
62-
<id>sonatype.release</id>
63-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
64-
</repository>
65-
<snapshotRepository>
66-
<id>sonatype.snapshots</id>
67-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
68-
</snapshotRepository>
69-
</distributionManagement>
70-
7160
<issueManagement>
7261
<url>https://issues.cask.co/browse/CDAP</url>
7362
</issueManagement>
@@ -86,19 +75,9 @@
8675
</properties>
8776

8877
<repositories>
89-
<repository>
90-
<id>sonatype</id>
91-
<url>https://oss.sonatype.org/content/groups/public</url>
92-
<releases>
93-
<enabled>true</enabled>
94-
</releases>
95-
<snapshots>
96-
<enabled>false</enabled>
97-
</snapshots>
98-
</repository>
9978
<repository>
10079
<id>sonatype-snapshots</id>
101-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
80+
<url>https://central.sonatype.com/repository/maven-snapshots</url>
10281
<releases>
10382
<enabled>false</enabled>
10483
</releases>
@@ -367,13 +346,14 @@
367346
</plugin>
368347

369348
<plugin>
370-
<groupId>org.sonatype.plugins</groupId>
371-
<artifactId>nexus-staging-maven-plugin</artifactId>
372-
<version>1.6.2</version>
349+
<groupId>org.sonatype.central</groupId>
350+
<artifactId>central-publishing-maven-plugin</artifactId>
351+
<version>0.8.0</version>
373352
<extensions>true</extensions>
374353
<configuration>
375-
<nexusUrl>https://oss.sonatype.org</nexusUrl>
376-
<serverId>sonatype.release</serverId>
354+
<publishingServerId>sonatype.release</publishingServerId>
355+
<autoPublish>false</autoPublish>
356+
<ignorePublishedComponents>true</ignorePublishedComponents>
377357
</configuration>
378358
</plugin>
379359

@@ -408,10 +388,6 @@
408388
<groupId>org.apache.maven.plugins</groupId>
409389
<artifactId>maven-gpg-plugin</artifactId>
410390
</plugin>
411-
<plugin>
412-
<groupId>org.sonatype.plugins</groupId>
413-
<artifactId>nexus-staging-maven-plugin</artifactId>
414-
</plugin>
415391
</plugins>
416392
</build>
417393
</profile>

0 commit comments

Comments
 (0)