Skip to content

Commit

Permalink
Update some plugins, and inline some settings from the [deprecated](h…
Browse files Browse the repository at this point in the history
…ttps://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
  • Loading branch information
cpovirk authored and copybara-github committed Feb 15, 2024
1 parent 6040366 commit 9659560
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions annotations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@
<maven.compiler.target>1.7</maven.compiler.target>
</properties>

<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>9</version>
</parent>

<groupId>com.google.j2objc</groupId>
<artifactId>j2objc-annotations</artifactId>
<packaging>jar</packaging>
Expand All @@ -49,12 +43,25 @@
</license>
</licenses>

<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<version>3.6.3</version>
<executions>
<execution>
<id>generate-docs</id>
Expand All @@ -66,7 +73,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
<version>3.3.0</version>
<executions>
<execution>
<id>generate-sources</id>
Expand All @@ -78,7 +85,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<version>3.1.0</version>
<executions>
<execution>
<id>sign-artifacts</id>
Expand Down

0 comments on commit 9659560

Please sign in to comment.