Skip to content

Commit 06d97ea

Browse files
authored
Merge pull request #1001 from data-integrations/mig_oss_cdf_611
CDAP OSS Migration for CDF 6.11
2 parents 00ca18a + 7c4f40c commit 06d97ea

1 file changed

Lines changed: 7 additions & 40 deletions

File tree

pom.xml

Lines changed: 7 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,6 @@
6060
<tag>HEAD</tag>
6161
</scm>
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
<issueManagement>
7564
<url>https://issues.cask.co/browse/CDAP</url>
7665
</issueManagement>
@@ -126,19 +115,9 @@
126115
</properties>
127116

128117
<repositories>
129-
<repository>
130-
<id>sonatype</id>
131-
<url>https://oss.sonatype.org/content/groups/public</url>
132-
<releases>
133-
<enabled>true</enabled>
134-
</releases>
135-
<snapshots>
136-
<enabled>false</enabled>
137-
</snapshots>
138-
</repository>
139118
<repository>
140119
<id>sonatype-snapshots</id>
141-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
120+
<url>https://central.sonatype.com/repository/maven-snapshots</url>
142121
<releases>
143122
<enabled>false</enabled>
144123
</releases>
@@ -387,26 +366,14 @@
387366
</plugin>
388367

389368
<plugin>
390-
<groupId>org.apache.maven.plugins</groupId>
391-
<artifactId>maven-release-plugin</artifactId>
392-
<version>2.5.3</version>
393-
<configuration>
394-
<tag>v${releaseVersion}</tag>
395-
<tagNameFormat>v@{project.version}</tagNameFormat>
396-
<autoVersionSubmodules>true</autoVersionSubmodules>
397-
<!-- releaseProfiles configuration will actually force a Maven profile
398-
– the `releases` profile – to become active during the Release process. -->
399-
<releaseProfiles>releases</releaseProfiles>
400-
</configuration>
401-
</plugin>
402-
<plugin>
403-
<groupId>org.sonatype.plugins</groupId>
404-
<artifactId>nexus-staging-maven-plugin</artifactId>
405-
<version>1.6.2</version>
369+
<groupId>org.sonatype.central</groupId>
370+
<artifactId>central-publishing-maven-plugin</artifactId>
371+
<version>0.8.0</version>
406372
<extensions>true</extensions>
407373
<configuration>
408-
<nexusUrl>https://oss.sonatype.org</nexusUrl>
409-
<serverId>sonatype.release</serverId>
374+
<publishingServerId>sonatype.release</publishingServerId>
375+
<autoPublish>false</autoPublish>
376+
<ignorePublishedComponents>true</ignorePublishedComponents>
410377
</configuration>
411378
</plugin>
412379
</plugins>

0 commit comments

Comments
 (0)