Skip to content

Commit b617602

Browse files
committed
ci: remove Sonatype Nexus from distributionManagement
TAG=agy CONV=a1a40e3d-9403-4ebf-a220-0c6332de4ec2
1 parent d3dfa32 commit b617602

9 files changed

Lines changed: 8 additions & 112 deletions

File tree

google-auth-library-java/appengine/pom.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,7 @@
1212
<artifactId>google-auth-library-appengine</artifactId>
1313
<name>Google Auth Library for Java - Google App Engine</name>
1414

15-
<distributionManagement>
16-
<snapshotRepository>
17-
<id>ossrh</id>
18-
<url>https://google.oss.sonatype.org/content/repositories/snapshots</url>
19-
</snapshotRepository>
20-
</distributionManagement>
15+
2116

2217
<build>
2318
<sourceDirectory>java</sourceDirectory>

google-auth-library-java/credentials/pom.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,7 @@
1111
<artifactId>google-auth-library-credentials</artifactId>
1212
<name>Google Auth Library for Java - Credentials</name>
1313

14-
<distributionManagement>
15-
<snapshotRepository>
16-
<id>ossrh</id>
17-
<url>https://google.oss.sonatype.org/content/repositories/snapshots</url>
18-
</snapshotRepository>
19-
</distributionManagement>
14+
2015

2116
<build>
2217
<sourceDirectory>java</sourceDirectory>

google-auth-library-java/oauth2_http/pom.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,7 @@
1414
<artifactId>google-auth-library-oauth2-http</artifactId>
1515
<name>Google Auth Library for Java - OAuth2 HTTP</name>
1616

17-
<distributionManagement>
18-
<snapshotRepository>
19-
<id>ossrh</id>
20-
<url>https://google.oss.sonatype.org/content/repositories/snapshots</url>
21-
</snapshotRepository>
22-
</distributionManagement>
17+
2318

2419
<profiles>
2520
<profile>

google-auth-library-java/pom.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@
2121
</parent>
2222

2323
<distributionManagement>
24-
<snapshotRepository>
25-
<id>sonatype-nexus-snapshots</id>
26-
<url>https://google.oss.sonatype.org/content/repositories/snapshots</url>
27-
</snapshotRepository>
24+
2825
<site>
2926
<id>googleapis.dev</id>
3027
<name>Google self-hosted documentation site</name>

pom.xml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -279,25 +279,6 @@
279279
</plugins>
280280
</build>
281281
<profiles>
282-
<profile>
283-
<!-- profile for nexus-staging:release invocation -->
284-
<id>release-staging-repository</id>
285-
<activation>
286-
<property>
287-
<!-- The root project not using nexus-staging-maven-plugin when signing -->
288-
<name>!gpg.executable</name>
289-
</property>
290-
</activation>
291-
<distributionManagement>
292-
<snapshotRepository>
293-
<id>sonatype-nexus-snapshots</id>
294-
<url>https://google.oss.sonatype.org/content/repositories/snapshots</url>
295-
</snapshotRepository>
296-
<repository>
297-
<id>sonatype-nexus-staging</id>
298-
<url>https://google.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
299-
</repository>
300-
</distributionManagement>
301-
</profile>
282+
302283
</profiles>
303284
</project>

sdk-platform-java/gapic-generator-java/pom.xml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -40,27 +40,7 @@
4040
</dependencyManagement>
4141

4242
<profiles>
43-
<profile>
44-
<!-- profile for nexus-staging:release invocation -->
45-
<id>release-staging-repository</id>
46-
<activation>
47-
<property>
48-
<!-- The root project not using nexus-staging-maven-plugin when signing -->
49-
<name>!gpg.executable</name>
50-
</property>
51-
</activation>
52-
<distributionManagement>
53-
<snapshotRepository>
54-
<id>sonatype-nexus-snapshots</id>
55-
<url>https://google.oss.sonatype.org/content/repositories/snapshots</url>
56-
</snapshotRepository>
57-
<repository>
58-
<id>sonatype-nexus-staging</id>
59-
<url>https://google.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
60-
</repository>
61-
</distributionManagement>
6243

63-
</profile>
6444

6545
<!-- Skip gapic-generator-java when analyzing showcase test coverage on SonarCloud -->
6646
<profile>

sdk-platform-java/hermetic_build/library_generation/templates/root-pom.xml.j2

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,6 @@
3333
</plugins>
3434
</build>
3535
<profiles>
36-
<profile>
37-
<!-- profile for nexus-staging:release invocation -->
38-
<id>release-staging-repository</id>
39-
<activation>
40-
<property>
41-
<!-- The root project not using nexus-staging-maven-plugin when signing -->
42-
<name>!gpg.executable</name>
43-
</property>
44-
</activation>
45-
<distributionManagement>
46-
<snapshotRepository>
47-
<id>sonatype-nexus-snapshots</id>
48-
<url>https://google.oss.sonatype.org/content/repositories/snapshots</url>
49-
</snapshotRepository>
50-
<repository>
51-
<id>sonatype-nexus-staging</id>
52-
<url>https://google.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
53-
</repository>
54-
</distributionManagement>
55-
</profile>
36+
5637
</profiles>
5738
</project>

sdk-platform-java/hermetic_build/library_generation/tests/resources/test_monorepo_postprocessing/pom-golden.xml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,6 @@
3333
</plugins>
3434
</build>
3535
<profiles>
36-
<profile>
37-
<!-- profile for nexus-staging:release invocation -->
38-
<id>release-staging-repository</id>
39-
<activation>
40-
<property>
41-
<!-- The root project not using nexus-staging-maven-plugin when signing -->
42-
<name>!gpg.executable</name>
43-
</property>
44-
</activation>
45-
<distributionManagement>
46-
<snapshotRepository>
47-
<id>sonatype-nexus-snapshots</id>
48-
<url>https://google.oss.sonatype.org/content/repositories/snapshots</url>
49-
</snapshotRepository>
50-
<repository>
51-
<id>sonatype-nexus-staging</id>
52-
<url>https://google.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
53-
</repository>
54-
</distributionManagement>
55-
</profile>
36+
5637
</profiles>
5738
</project>

sdk-platform-java/pom.xml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,7 @@
4444
</plugin>
4545
</plugins>
4646
</build>
47-
<distributionManagement>
48-
<snapshotRepository>
49-
<id>sonatype-nexus-snapshots</id>
50-
<url>https://google.oss.sonatype.org/content/repositories/snapshots</url>
51-
</snapshotRepository>
52-
<repository>
53-
<id>sonatype-nexus-staging</id>
54-
<url>https://google.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
55-
</repository>
56-
</distributionManagement>
47+
5748
<profiles>
5849

5950

0 commit comments

Comments
 (0)