Skip to content

Commit 494e43a

Browse files
committed
Update release configuration
1 parent 9a3ea44 commit 494e43a

2 files changed

Lines changed: 9 additions & 11 deletions

File tree

pom.xml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,12 @@
8787
</configuration>
8888
</plugin>
8989
<plugin>
90-
<groupId>org.sonatype.plugins</groupId>
91-
<artifactId>nexus-staging-maven-plugin</artifactId>
92-
<version>1.6.8</version>
90+
<groupId>org.sonatype.central</groupId>
91+
<artifactId>central-publishing-maven-plugin</artifactId>
92+
<version>0.9.0</version>
9393
<extensions>true</extensions>
9494
<configuration>
95-
<serverId>ossrh</serverId>
96-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
97-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
95+
<publishingServerId>central</publishingServerId>
9896
</configuration>
9997
</plugin>
10098
<plugin>
@@ -115,7 +113,7 @@
115113
<plugin>
116114
<groupId>org.apache.maven.plugins</groupId>
117115
<artifactId>maven-source-plugin</artifactId>
118-
<version>3.2.0</version>
116+
<version>3.4.0</version>
119117
<executions>
120118
<execution>
121119
<id>attach-sources</id>
@@ -128,7 +126,7 @@
128126
<plugin>
129127
<groupId>org.apache.maven.plugins</groupId>
130128
<artifactId>maven-javadoc-plugin</artifactId>
131-
<version>3.2.0</version>
129+
<version>3.12.0</version>
132130
<executions>
133131
<execution>
134132
<id>attach-javadocs</id>
@@ -288,7 +286,7 @@
288286
<plugin>
289287
<groupId>org.obolibrary.robot</groupId>
290288
<artifactId>robot-maven-plugin</artifactId>
291-
<version>1.10.0-SNAPSHOT</version>
289+
<version>1.9.8</version>
292290
</plugin>
293291
</plugins>
294292
</build>

util/release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ git push
123123

124124
### Maven Central Release
125125
#
126-
# - documentation at <https://central.sonatype.org/pages/apache-maven.html>
126+
# - documentation at <https://central.sonatype.org/publish/publish-portal-maven/>
127127
# - make sure your have a username and password in `~/.m2/settings.xml`
128-
# using the Access User Token from your profile on <https://oss.sonatype.org>
128+
# using the Access User Token from your profile on <https://central.sonatype.com/usertoken>
129129
# - enter your GPG password, maybe with a dialog window
130130
step "Release to Maven Central"
131131
mvn clean deploy -P release

0 commit comments

Comments
 (0)