Skip to content

Commit ab405e8

Browse files
committed
Switch publishing from Sonatype to Central
1 parent f0c497d commit ab405e8

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

pom.xml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,6 @@
4343
<system>Github Actions</system>
4444
<url>https://github.com/spdx/tools-java/actions</url>
4545
</ciManagement>
46-
<distributionManagement>
47-
<repository>
48-
<id>ossrh</id>
49-
<name>spdx-spdx-tools</name>
50-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
51-
</repository>
52-
</distributionManagement>
5346
<properties>
5447
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5548
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
@@ -209,6 +202,15 @@
209202
</testResource>
210203
</testResources>
211204
<plugins>
205+
<plugin>
206+
<groupId>org.sonatype.central</groupId>
207+
<artifactId>central-publishing-maven-plugin</artifactId>
208+
<version>0.7.0</version>
209+
<extensions>true</extensions>
210+
<configuration>
211+
<publishingServerId>central</publishingServerId>
212+
</configuration>
213+
</plugin>
212214
<plugin>
213215
<groupId>org.owasp</groupId>
214216
<artifactId>dependency-check-maven</artifactId>

0 commit comments

Comments
 (0)