build: migrate maven central deployment to publishing api
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Stefan Kalscheuer 2024-10-03 18:57:22 +02:00
parent c8a8f4cbbf
commit 658f005433
Signed by: stefan
GPG Key ID: 3887EC2A53B55430

28
pom.xml
View File

@ -255,6 +255,9 @@
<goals> <goals>
<goal>makeBom</goal> <goal>makeBom</goal>
</goals> </goals>
<configuration>
<skipNotDeployed>false</skipNotDeployed>
</configuration>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
@ -358,17 +361,20 @@
</profile> </profile>
<profile> <profile>
<id>sonatype</id> <id>central</id>
<distributionManagement> <build>
<repository> <plugins>
<id>ossrh</id> <plugin>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> <groupId>org.sonatype.central</groupId>
</repository> <artifactId>central-publishing-maven-plugin</artifactId>
<snapshotRepository> <version>0.6.0</version>
<id>ossrh</id> <extensions>true</extensions>
<url>https://oss.sonatype.org/content/repositories/snapshots</url> <configuration>
</snapshotRepository> <publishingServerId>central</publishingServerId>
</distributionManagement> </configuration>
</plugin>
</plugins>
</build>
</profile> </profile>
<profile> <profile>