Update to latest Sonatype publishing bits.

Also bump samskivert and narya depends to latest stable version.
This commit is contained in:
Michael Bayne
2025-07-04 10:01:02 -07:00
parent 7ee646af97
commit d1e2a2cd02
2 changed files with 44 additions and 19 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
<dependency> <dependency>
<groupId>com.samskivert</groupId> <groupId>com.samskivert</groupId>
<artifactId>samskivert</artifactId> <artifactId>samskivert</artifactId>
<version>1.10-SNAPSHOT</version> <version>1.10</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.google.guava</groupId> <groupId>com.google.guava</groupId>
+43 -18
View File
@@ -1,11 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?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"> <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> <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
<groupId>com.threerings</groupId> <groupId>com.threerings</groupId>
<artifactId>nenya-parent</artifactId> <artifactId>nenya-parent</artifactId>
@@ -14,15 +9,15 @@
<name>Nenya Parent</name> <name>Nenya Parent</name>
<description>Facilities for making Java games.</description> <description>Facilities for making Java games.</description>
<url>http://github.com/threerings/nenya/</url> <url>https://github.com/threerings/nenya/</url>
<issueManagement> <issueManagement>
<url>http://github.com/threerings/nenya/issues</url> <url>https://github.com/threerings/nenya/issues</url>
</issueManagement> </issueManagement>
<licenses> <licenses>
<license> <license>
<name>GNU Lesser General Public License (LGPL), Version 2.1</name> <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> <distribution>repo</distribution>
</license> </license>
</licenses> </licenses>
@@ -38,12 +33,12 @@
<scm> <scm>
<connection>scm:git:git://github.com/threerings/nenya.git</connection> <connection>scm:git:git://github.com/threerings/nenya.git</connection>
<developerConnection>scm:git:git@github.com:threerings/nenya.git</developerConnection> <developerConnection>scm:git:git@github.com:threerings/nenya.git</developerConnection>
<url>http://github.com/threerings/nenya/</url> <url>https://github.com/threerings/nenya/</url>
</scm> </scm>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<narya.version>1.17-SNAPSHOT</narya.version> <narya.version>1.17</narya.version>
</properties> </properties>
<modules> <modules>
@@ -86,12 +81,16 @@
<quiet>true</quiet> <quiet>true</quiet>
<show>public</show> <show>public</show>
<additionalparam>-Xdoclint:all -Xdoclint:-missing</additionalparam> <additionalparam>-Xdoclint:all -Xdoclint:-missing</additionalparam>
<links> </configuration>
<link>http://samskivert.github.com/samskivert/apidocs/</link> </plugin>
<link>http://docs.guava-libraries.googlecode.com/git/javadoc/</link> <plugin>
<link>http://threerings.github.com/narya/apidocs/</link> <groupId>org.sonatype.central</groupId>
<link>http://evgeny-goldin.org/ant/api/</link> <artifactId>central-publishing-maven-plugin</artifactId>
</links> <version>0.8.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
@@ -147,16 +146,42 @@
</profile> </profile>
<profile> <profile>
<id>release-sign-artifacts</id> <id>release-extras</id>
<activation> <activation>
<property><name>performRelease</name><value>true</value></property> <property><name>performRelease</name><value>true</value></property>
</activation> </activation>
<build> <build>
<plugins> <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> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId> <artifactId>maven-gpg-plugin</artifactId>
<version>1.1</version> <version>1.5</version>
<executions> <executions>
<execution> <execution>
<id>sign-artifacts</id> <id>sign-artifacts</id>