Skip to content

Commit 9659560

Browse files
cpovirkcopybara-github
authored andcommitted
Update some plugins, and inline some settings from the [deprecated](https://github.com/sonatype/oss-parents) oss-parent
Compare previous work on other projects, like cl/395095285 and cl/492304151. This change should improve the chances that our shared release script can work for `j2objc-annotations`. (Specifically, I think we've had trouble with the old `maven-gpg-plugin` version, like in cl/492199969.) PiperOrigin-RevId: 607383183
1 parent 6040366 commit 9659560

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

annotations/pom.xml

+16-9
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@
2323
<maven.compiler.target>1.7</maven.compiler.target>
2424
</properties>
2525

26-
<parent>
27-
<groupId>org.sonatype.oss</groupId>
28-
<artifactId>oss-parent</artifactId>
29-
<version>9</version>
30-
</parent>
31-
3226
<groupId>com.google.j2objc</groupId>
3327
<artifactId>j2objc-annotations</artifactId>
3428
<packaging>jar</packaging>
@@ -49,12 +43,25 @@
4943
</license>
5044
</licenses>
5145

46+
<distributionManagement>
47+
<snapshotRepository>
48+
<id>sonatype-nexus-snapshots</id>
49+
<name>Sonatype Nexus Snapshots</name>
50+
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
51+
</snapshotRepository>
52+
<repository>
53+
<id>sonatype-nexus-staging</id>
54+
<name>Nexus Release Repository</name>
55+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
56+
</repository>
57+
</distributionManagement>
58+
5259
<build>
5360
<plugins>
5461
<plugin>
5562
<groupId>org.apache.maven.plugins</groupId>
5663
<artifactId>maven-javadoc-plugin</artifactId>
57-
<version>2.10.3</version>
64+
<version>3.6.3</version>
5865
<executions>
5966
<execution>
6067
<id>generate-docs</id>
@@ -66,7 +73,7 @@
6673
<plugin>
6774
<groupId>org.apache.maven.plugins</groupId>
6875
<artifactId>maven-source-plugin</artifactId>
69-
<version>2.4</version>
76+
<version>3.3.0</version>
7077
<executions>
7178
<execution>
7279
<id>generate-sources</id>
@@ -78,7 +85,7 @@
7885
<plugin>
7986
<groupId>org.apache.maven.plugins</groupId>
8087
<artifactId>maven-gpg-plugin</artifactId>
81-
<version>1.6</version>
88+
<version>3.1.0</version>
8289
<executions>
8390
<execution>
8491
<id>sign-artifacts</id>

0 commit comments

Comments
 (0)