Update to new Sonatype deployment bits.

Other plugin upgrades & modernizations.
This commit is contained in:
Michael Bayne
2025-07-29 11:45:17 -07:00
parent 9e46105587
commit e183429ac8
+33 -18
View File
@@ -1,11 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>9</version>
</parent>
<groupId>com.threerings</groupId>
<artifactId>ooo-user</artifactId>
@@ -18,7 +13,7 @@
<licenses>
<license>
<name>The (New) BSD License</name>
<url>http://www.opensource.org/licenses/bsd-license.php</url>
<url>https://opensource.org/license/BSD-2-Clause</url>
<distribution>repo</distribution>
</license>
</licenses>
@@ -98,23 +93,17 @@
<configuration>
<quiet>true</quiet>
<show>public</show>
<links>
<link>http://samskivert.github.com/samskivert/apidocs/</link>
<link>http://docs.guava-libraries.googlecode.com/git/javadoc/</link>
</links>
<additionalparam>-Xdoclint:all -Xdoclint:-missing</additionalparam>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.8.0</version>
<extensions>true</extensions>
<inherited>false</inherited>
<configuration>
<serverId>ossrh-releases</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<stagingProfileId>aa555c46fc37d0</stagingProfileId>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
</configuration>
</plugin>
</plugins>
@@ -122,12 +111,38 @@
<profiles>
<profile>
<id>release-sign-artifacts</id>
<id>release-extras</id>
<activation>
<property><name>performRelease</name><value>true</value></property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>