Skip to content

Commit 96c08fb

Browse files
authored
Merge pull request #30 from data-integrations/cherry-pick/5bd58b6c97f10f8bdde3067f48807b1b263fbd45
[🍒][6.10][6.11] CDAP OSS migration
2 parents ed14144 + 19a634c commit 96c08fb

File tree

1 file changed

+7
-42
lines changed

1 file changed

+7
-42
lines changed

pom.xml

Lines changed: 7 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,6 @@
5555
<url>https://issues.cask.co/browse/CDAP</url>
5656
</issueManagement>
5757

58-
<distributionManagement>
59-
<repository>
60-
<id>sonatype.release</id>
61-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
62-
</repository>
63-
<snapshotRepository>
64-
<id>sonatype.snapshots</id>
65-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
66-
</snapshotRepository>
67-
</distributionManagement>
68-
6958
<properties>
7059
<jee.version>7</jee.version>
7160
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -91,19 +80,9 @@
9180
</properties>
9281

9382
<repositories>
94-
<repository>
95-
<id>sonatype</id>
96-
<url>https://oss.sonatype.org/content/groups/public</url>
97-
<releases>
98-
<enabled>true</enabled>
99-
</releases>
100-
<snapshots>
101-
<enabled>false</enabled>
102-
</snapshots>
103-
</repository>
10483
<repository>
10584
<id>sonatype-snapshots</id>
106-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
85+
<url>https://central.sonatype.com/repository/maven-snapshots</url>
10786
<releases>
10887
<enabled>false</enabled>
10988
</releases>
@@ -612,29 +591,15 @@
612591
</execution>
613592
</executions>
614593
</plugin>
615-
616-
<plugin>
617-
<groupId>org.apache.maven.plugins</groupId>
618-
<artifactId>maven-release-plugin</artifactId>
619-
<version>2.5.3</version>
620-
<configuration>
621-
<tag>v${releaseVersion}</tag>
622-
<tagNameFormat>v@{project.version}</tagNameFormat>
623-
<autoVersionSubmodules>true</autoVersionSubmodules>
624-
<!-- releaseProfiles configuration will actually force a Maven profile
625-
– the `releases` profile – to become active during the Release process. -->
626-
<releaseProfiles>releases</releaseProfiles>
627-
</configuration>
628-
</plugin>
629-
630594
<plugin>
631-
<groupId>org.sonatype.plugins</groupId>
632-
<artifactId>nexus-staging-maven-plugin</artifactId>
633-
<version>1.6.2</version>
595+
<groupId>org.sonatype.central</groupId>
596+
<artifactId>central-publishing-maven-plugin</artifactId>
597+
<version>0.8.0</version>
634598
<extensions>true</extensions>
635599
<configuration>
636-
<nexusUrl>https://oss.sonatype.org</nexusUrl>
637-
<serverId>sonatype.release</serverId>
600+
<publishingServerId>sonatype.release</publishingServerId>
601+
<autoPublish>false</autoPublish>
602+
<ignorePublishedComponents>true</ignorePublishedComponents>
638603
</configuration>
639604
</plugin>
640605
</plugins>

0 commit comments

Comments
 (0)