Update to new Sonatype deployment bits.

Other plugin upgrades & modernizations.
This commit is contained in:
Michael Bayne
2025-07-04 15:10:04 -07:00
parent f6fd0d2cb5
commit 865c06d916
+42 -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>7</version>
</parent>
<groupId>com.threerings</groupId>
<artifactId>vilya-parent</artifactId>
@@ -14,15 +9,15 @@
<name>Vilya</name>
<description>Facilities for making networked multiplayer games.</description>
<url>http://github.com/threerings/vilya/</url>
<url>https://github.com/threerings/vilya/</url>
<issueManagement>
<url>http://github.com/threerings/vilya/issues</url>
<url>https://github.com/threerings/vilya/issues</url>
</issueManagement>
<licenses>
<license>
<name>GNU Lesser General Public License (LGPL), Version 2.1</name>
<url>http://www.fsf.org/licensing/licenses/lgpl.txt</url>
<url>https://www.fsf.org/licensing/licenses/lgpl.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
@@ -38,12 +33,11 @@
<scm>
<connection>scm:git:git://github.com/threerings/vilya.git</connection>
<developerConnection>scm:git:git@github.com:threerings/vilya.git</developerConnection>
<url>http://github.com/threerings/vilya/</url>
<url>https://github.com/threerings/vilya/</url>
</scm>
<modules>
<module>core</module>
<!--<module>tools</module>-->
</modules>
<build>
@@ -85,12 +79,6 @@
<quiet>true</quiet>
<show>public</show>
<additionalparam>-Xdoclint:all -Xdoclint:-missing</additionalparam>
<links>
<link>http://samskivert.github.com/samskivert/apidocs/</link>
<link>http://threerings.github.com/depot/apidocs/</link>
<link>http://docs.guava-libraries.googlecode.com/git/javadoc/</link>
<link>http://www.jajakarta.org/ant/ant-1.6.1/docs/ja/manual/api/</link>
</links>
</configuration>
</plugin>
<plugin>
@@ -103,6 +91,16 @@
<artifactId>maven-deploy-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.8.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
</configuration>
</plugin>
</plugins>
</build>
@@ -156,16 +154,42 @@
</profile>
<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>
<version>1.1</version>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>