Skip to content

Commit

Permalink
build: migrate maven central deployment to publishing api
Browse files Browse the repository at this point in the history
  • Loading branch information
stklcode committed Oct 3, 2024
1 parent c8a8f4c commit 658f005
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
<goals>
<goal>makeBom</goal>
</goals>
<configuration>
<skipNotDeployed>false</skipNotDeployed>
</configuration>
</execution>
</executions>
</plugin>
Expand Down Expand Up @@ -358,17 +361,20 @@
</profile>

<profile>
<id>sonatype</id>
<distributionManagement>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<id>central</id>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.6.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
</configuration>
</plugin>
</plugins>
</build>
</profile>

<profile>
Expand Down

0 comments on commit 658f005

Please sign in to comment.