Skip to content

Commit cf27a61

Browse files
authored
Merge pull request #1565 from data-integrations/cherrypick/release/0.23/ossrh-migration
[Cherrypick] Migration to central sonatype repo.
2 parents ceb70bf + ea20994 commit cf27a61

File tree

1 file changed

+6
-41
lines changed

1 file changed

+6
-41
lines changed

pom.xml

Lines changed: 6 additions & 41 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://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2</url>
62-
</repository>
63-
<snapshotRepository>
64-
<id>sonatype.snapshots</id>
65-
<url>https://central.sonatype.com/repository/maven-snapshots</url>
66-
</snapshotRepository>
67-
</distributionManagement>
68-
6958
<properties>
7059
<jee.version>7</jee.version>
7160
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -118,16 +107,6 @@
118107
</dependencyManagement>
119108

120109
<repositories>
121-
<repository>
122-
<id>sonatype</id>
123-
<url>https://ossrh-staging-api.central.sonatype.com/content/groups/public</url>
124-
<releases>
125-
<enabled>true</enabled>
126-
</releases>
127-
<snapshots>
128-
<enabled>false</enabled>
129-
</snapshots>
130-
</repository>
131110
<repository>
132111
<id>sonatype-snapshots</id>
133112
<url>https://central.sonatype.com/repository/maven-snapshots</url>
@@ -1098,29 +1077,15 @@
10981077
</execution>
10991078
</executions>
11001079
</plugin>
1101-
1102-
<plugin>
1103-
<groupId>org.apache.maven.plugins</groupId>
1104-
<artifactId>maven-release-plugin</artifactId>
1105-
<version>2.5.3</version>
1106-
<configuration>
1107-
<tag>v${releaseVersion}</tag>
1108-
<tagNameFormat>v@{project.version}</tagNameFormat>
1109-
<autoVersionSubmodules>true</autoVersionSubmodules>
1110-
<!-- releaseProfiles configuration will actually force a Maven profile
1111-
– the `releases` profile – to become active during the Release process. -->
1112-
<releaseProfiles>releases</releaseProfiles>
1113-
</configuration>
1114-
</plugin>
1115-
11161080
<plugin>
1117-
<groupId>org.sonatype.plugins</groupId>
1118-
<artifactId>nexus-staging-maven-plugin</artifactId>
1119-
<version>1.6.2</version>
1081+
<groupId>org.sonatype.central</groupId>
1082+
<artifactId>central-publishing-maven-plugin</artifactId>
1083+
<version>0.8.0</version>
11201084
<extensions>true</extensions>
11211085
<configuration>
1122-
<nexusUrl>https://ossrh-staging-api.central.sonatype.com</nexusUrl>
1123-
<serverId>sonatype.release</serverId>
1086+
<publishingServerId>sonatype.release</publishingServerId>
1087+
<autoPublish>false</autoPublish>
1088+
<ignorePublishedComponents>true</ignorePublishedComponents>
11241089
</configuration>
11251090
</plugin>
11261091
</plugins>

0 commit comments

Comments
 (0)