Skip to content

Commit ab2589a

Browse files
committed
Migration to central sonatype repo.
1 parent 844cfd8 commit ab2589a

File tree

1 file changed

+45
-35
lines changed

1 file changed

+45
-35
lines changed

pom.xml

Lines changed: 45 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<groupId>io.cdap.plugin</groupId>
2222
<artifactId>google-cloud</artifactId>
23-
<version>0.25.0</version>
23+
<version>0.25.0-SNAPSHOT</version>
2424
<name>Google Cloud Plugins</name>
2525
<packaging>jar</packaging>
2626
<description>Plugins for Google Big Query</description>
@@ -55,16 +55,16 @@
5555
<url>https://issues.cask.co/browse/CDAP</url>
5656
</issueManagement>
5757

58-
<distributionManagement>
59-
<repository>
60-
<id>sonatype.release</id>
61-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</url>
62-
</repository>
63-
<snapshotRepository>
64-
<id>sonatype.snapshots</id>
65-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
66-
</snapshotRepository>
67-
</distributionManagement>
58+
<!-- <distributionManagement>-->
59+
<!-- <repository>-->
60+
<!-- <id>sonatype.release</id>-->
61+
<!-- <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</url>-->
62+
<!-- </repository>-->
63+
<!-- <snapshotRepository>-->
64+
<!-- <id>sonatype.snapshots</id>-->
65+
<!-- <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>-->
66+
<!-- </snapshotRepository>-->
67+
<!-- </distributionManagement>-->
6868

6969
<properties>
7070
<jee.version>7</jee.version>
@@ -118,19 +118,19 @@
118118
</dependencyManagement>
119119

120120
<repositories>
121-
<repository>
122-
<id>sonatype</id>
123-
<url>https://oss.sonatype.org/content/groups/public</url>
124-
<releases>
125-
<enabled>true</enabled>
126-
</releases>
127-
<snapshots>
128-
<enabled>false</enabled>
129-
</snapshots>
130-
</repository>
121+
<!-- <repository>-->
122+
<!-- <id>sonatype</id>-->
123+
<!-- <url>https://oss.sonatype.org/content/groups/public</url>-->
124+
<!-- <releases>-->
125+
<!-- <enabled>true</enabled>-->
126+
<!-- </releases>-->
127+
<!-- <snapshots>-->
128+
<!-- <enabled>false</enabled>-->
129+
<!-- </snapshots>-->
130+
<!-- </repository>-->
131131
<repository>
132132
<id>sonatype-snapshots</id>
133-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
133+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
134134
<releases>
135135
<enabled>false</enabled>
136136
</releases>
@@ -1151,19 +1151,19 @@
11511151
</executions>
11521152
</plugin>
11531153

1154-
<plugin>
1155-
<groupId>org.apache.maven.plugins</groupId>
1156-
<artifactId>maven-release-plugin</artifactId>
1157-
<version>2.5.3</version>
1158-
<configuration>
1159-
<tag>v${releaseVersion}</tag>
1160-
<tagNameFormat>v@{project.version}</tagNameFormat>
1161-
<autoVersionSubmodules>true</autoVersionSubmodules>
1162-
<!-- releaseProfiles configuration will actually force a Maven profile
1163-
– the `releases` profile – to become active during the Release process. -->
1164-
<releaseProfiles>releases</releaseProfiles>
1165-
</configuration>
1166-
</plugin>
1154+
<!-- <plugin>-->
1155+
<!-- <groupId>org.apache.maven.plugins</groupId>-->
1156+
<!-- <artifactId>maven-release-plugin</artifactId>-->
1157+
<!-- <version>2.5.3</version>-->
1158+
<!-- <configuration>-->
1159+
<!-- <tag>v${releaseVersion}</tag>-->
1160+
<!-- <tagNameFormat>v@{project.version}</tagNameFormat>-->
1161+
<!-- <autoVersionSubmodules>true</autoVersionSubmodules>-->
1162+
<!-- &lt;!&ndash; releaseProfiles configuration will actually force a Maven profile-->
1163+
<!-- – the `releases` profile – to become active during the Release process. &ndash;&gt;-->
1164+
<!-- <releaseProfiles>releases</releaseProfiles>-->
1165+
<!-- </configuration>-->
1166+
<!-- </plugin>-->
11671167

11681168
<!-- <plugin>-->
11691169
<!-- <groupId>org.sonatype.plugins</groupId>-->
@@ -1175,6 +1175,16 @@
11751175
<!-- <serverId>sonatype.release</serverId>-->
11761176
<!-- </configuration>-->
11771177
<!-- </plugin>-->
1178+
<plugin>
1179+
<groupId>org.sonatype.central</groupId>
1180+
<artifactId>central-publishing-maven-plugin</artifactId>
1181+
<version>0.8.0</version>
1182+
<extensions>true</extensions>
1183+
<configuration>
1184+
<publishingServerId>sonatype.release</publishingServerId>
1185+
<autoPublish>false</autoPublish>
1186+
</configuration>
1187+
</plugin>
11781188
</plugins>
11791189
</build>
11801190
</profile>

0 commit comments

Comments
 (0)