Skip to content

Commit 9e2b694

Browse files
committed
https://dev.to/mxro/migrating-maven-namespace-to-central-portal-fgp
1 parent c674154 commit 9e2b694

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

pom.xml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,16 @@
550550
</execution>
551551
</executions>
552552
</plugin>
553+
554+
<plugin>
555+
<groupId>org.sonatype.central</groupId>
556+
<artifactId>central-publishing-maven-plugin</artifactId>
557+
<version>0.9.0</version>
558+
<extensions>true</extensions>
559+
<configuration>
560+
<publishingServerId>central</publishingServerId>
561+
</configuration>
562+
</plugin>
553563
</plugins>
554564

555565
<pluginManagement>
@@ -568,7 +578,7 @@
568578
</pluginManagement>
569579
</build>
570580

571-
<distributionManagement>
581+
<!--<distributionManagement>
572582
<snapshotRepository>
573583
<id>ossrh-snapshot</id>
574584
<url>https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots</url>
@@ -577,6 +587,6 @@
577587
<id>ossrh-release</id>
578588
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url>
579589
</repository>
580-
</distributionManagement>
590+
</distributionManagement>-->
581591

582592
</project>

0 commit comments

Comments
 (0)