Skip to content

Commit 498b441

Browse files
authored
Central Portal Migration (#161)
*Issue #, if available:* None *Description of changes:* Migrating off of Nexus 2 to Central Portal for releases https://central.sonatype.org/publish/publish-portal-guide/ By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 47861e2 commit 498b441

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

pom.xml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
<execution>
9191
<id>attach-sources</id>
9292
<goals>
93-
<goal>jar</goal>
93+
<goal>jar-no-fork</goal>
9494
</goals>
9595
</execution>
9696
</executions>
@@ -212,14 +212,12 @@
212212
</executions>
213213
</plugin>
214214
<plugin>
215-
<groupId>org.sonatype.plugins</groupId>
216-
<artifactId>nexus-staging-maven-plugin</artifactId>
217-
<version>1.6.13</version>
215+
<groupId>org.sonatype.central</groupId>
216+
<artifactId>central-publishing-maven-plugin</artifactId>
217+
<version>0.7.0</version>
218218
<extensions>true</extensions>
219219
<configuration>
220-
<serverId>sonatype-nexus-staging</serverId>
221-
<nexusUrl>https://aws.oss.sonatype.org</nexusUrl>
222-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
220+
<publishingServerId>central</publishingServerId>
223221
</configuration>
224222
</plugin>
225223
</plugins>

0 commit comments

Comments
 (0)