Skip to content

Commit 789b8e8

Browse files
committed
Update distribution to use central publishing
1 parent 0e73e8b commit 789b8e8

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

pom.xml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,6 @@
2727
<name>SPDX</name>
2828
<url>http://spdx.org</url>
2929
</organization>
30-
<distributionManagement>
31-
<repository>
32-
<id>ossrh</id>
33-
<name>spdx-spdx-tools</name>
34-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
35-
</repository>
36-
</distributionManagement>
3730
<scm>
3831
<url>https://github.com/spdx/spdx-java-core</url>
3932
<connection>scm:git:git://github.com/spdx/spdx-java-core.git</connection>
@@ -171,6 +164,15 @@
171164
</testResource>
172165
</testResources>
173166
<plugins>
167+
<plugin>
168+
<groupId>org.sonatype.central</groupId>
169+
<artifactId>central-publishing-maven-plugin</artifactId>
170+
<version>0.7.0</version>
171+
<extensions>true</extensions>
172+
<configuration>
173+
<publishingServerId>central</publishingServerId>
174+
</configuration>
175+
</plugin>
174176
<plugin>
175177
<groupId>org.apache.maven.plugins</groupId>
176178
<artifactId>maven-compiler-plugin</artifactId>

0 commit comments

Comments
 (0)