Update POM for latest Maven Central publishing hoops.

This commit is contained in:
Michael Bayne
2025-07-03 15:55:15 -07:00
parent 88cc725198
commit f9762d4eb4
+32 -13
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.samskivert</groupId> <groupId>com.samskivert</groupId>
<artifactId>depot</artifactId> <artifactId>depot</artifactId>
@@ -157,15 +152,13 @@
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.sonatype.plugins</groupId> <groupId>org.sonatype.central</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId> <artifactId>central-publishing-maven-plugin</artifactId>
<version>1.6.13</version> <version>0.8.0</version>
<extensions>true</extensions> <extensions>true</extensions>
<inherited>false</inherited>
<configuration> <configuration>
<serverId>ossrh-releases</serverId> <publishingServerId>central</publishingServerId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoPublish>true</autoPublish>
<stagingProfileId>aaa740f9c5c260</stagingProfileId>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
@@ -214,12 +207,38 @@
</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>