Skip to content

Commit ae2a548

Browse files
Merge pull request #310 from cdapio/oss-migration-cherrypick
[cherrypick] Migration to central sonatype repo.
2 parents 4cc11f3 + 5951d1f commit ae2a548

1 file changed

Lines changed: 7 additions & 41 deletions

File tree

pom.xml

Lines changed: 7 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -47,31 +47,10 @@ the License.-->
4747
<tag>HEAD</tag>
4848
</scm>
4949

50-
<distributionManagement>
51-
<repository>
52-
<id>sonatype.release</id>
53-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
54-
</repository>
55-
<snapshotRepository>
56-
<id>sonatype.snapshots</id>
57-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
58-
</snapshotRepository>
59-
</distributionManagement>
60-
6150
<repositories>
62-
<repository>
63-
<id>sonatype</id>
64-
<url>https://oss.sonatype.org/content/groups/public</url>
65-
<releases>
66-
<enabled>true</enabled>
67-
</releases>
68-
<snapshots>
69-
<enabled>false</enabled>
70-
</snapshots>
71-
</repository>
7251
<repository>
7352
<id>sonatype-snapshots</id>
74-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
53+
<url>https://central.sonatype.com/repository/maven-snapshots</url>
7554
<releases>
7655
<enabled>false</enabled>
7756
</releases>
@@ -256,27 +235,14 @@ the License.-->
256235
</plugin>
257236

258237
<plugin>
259-
<groupId>org.apache.maven.plugins</groupId>
260-
<artifactId>maven-release-plugin</artifactId>
261-
<version>2.5.3</version>
262-
<configuration>
263-
<tag>v${releaseVersion}</tag>
264-
<tagNameFormat>v@{project.version}</tagNameFormat>
265-
<autoVersionSubmodules>true</autoVersionSubmodules>
266-
<!-- releaseProfiles configuration will actually force a Maven profile
267-
– the `releases` profile – to become active during the Release process. -->
268-
<releaseProfiles>releases</releaseProfiles>
269-
</configuration>
270-
</plugin>
271-
272-
<plugin>
273-
<groupId>org.sonatype.plugins</groupId>
274-
<artifactId>nexus-staging-maven-plugin</artifactId>
275-
<version>1.6.2</version>
238+
<groupId>org.sonatype.central</groupId>
239+
<artifactId>central-publishing-maven-plugin</artifactId>
240+
<version>0.8.0</version>
276241
<extensions>true</extensions>
277242
<configuration>
278-
<nexusUrl>https://oss.sonatype.org</nexusUrl>
279-
<serverId>sonatype.release</serverId>
243+
<publishingServerId>sonatype.release</publishingServerId>
244+
<autoPublish>false</autoPublish>
245+
<ignorePublishedComponents>true</ignorePublishedComponents>
280246
</configuration>
281247
</plugin>
282248
</plugins>

0 commit comments

Comments
 (0)