Skip to content

Commit 54c8960

Browse files
committed
Switch to Maven Central portal from OSSRH
https://central.sonatype.org/pages/ossrh-eol/
1 parent 196abfe commit 54c8960

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

pom.xml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -95,29 +95,21 @@
9595
<profiles>
9696
<profile>
9797
<id>release</id>
98-
<distributionManagement>
99-
<snapshotRepository>
100-
<id>ossrh</id>
101-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
102-
</snapshotRepository>
103-
</distributionManagement>
10498
<build>
10599
<plugins>
106100
<plugin>
107-
<groupId>org.sonatype.plugins</groupId>
108-
<artifactId>nexus-staging-maven-plugin</artifactId>
109-
<version>1.6.7</version>
101+
<groupId>org.sonatype.central</groupId>
102+
<artifactId>central-publishing-maven-plugin</artifactId>
103+
<version>0.8.0</version>
110104
<extensions>true</extensions>
111105
<configuration>
112-
<serverId>ossrh</serverId>
113-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
114-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
106+
<publishingServerId>central</publishingServerId>
115107
</configuration>
116108
</plugin>
117109
<plugin>
118110
<groupId>org.apache.maven.plugins</groupId>
119111
<artifactId>maven-source-plugin</artifactId>
120-
<version>2.2.1</version>
112+
<version>3.3.1</version>
121113
<executions>
122114
<execution>
123115
<id>attach-sources</id>
@@ -130,7 +122,7 @@
130122
<plugin>
131123
<groupId>org.apache.maven.plugins</groupId>
132124
<artifactId>maven-javadoc-plugin</artifactId>
133-
<version>2.9.1</version>
125+
<version>3.11.2</version>
134126
<executions>
135127
<execution>
136128
<id>attach-javadocs</id>
@@ -143,7 +135,7 @@
143135
<plugin>
144136
<groupId>org.apache.maven.plugins</groupId>
145137
<artifactId>maven-gpg-plugin</artifactId>
146-
<version>1.5</version>
138+
<version>3.2.8</version>
147139
<executions>
148140
<execution>
149141
<id>sign-artifacts</id>

0 commit comments

Comments
 (0)