Skip to content

Commit 87805a0

Browse files
committed
Switch publishing from Sonatype to Central
1 parent eae20e9 commit 87805a0

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

pom.xml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@
3737
<name>SPDX</name>
3838
<url>http://spdx.org</url>
3939
</organization>
40-
<distributionManagement>
41-
<repository>
42-
<id>ossrh</id>
43-
<name>spdx-spdx-tools</name>
44-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
45-
</repository>
46-
</distributionManagement>
47-
4840
<profiles>
4941
<profile>
5042
<id>release</id>
@@ -130,7 +122,7 @@
130122
<dependency>
131123
<groupId>org.spdx</groupId>
132124
<artifactId>java-spdx-library</artifactId>
133-
<version>2.0.0</version>
125+
<version>2.0.1</version>
134126
</dependency>
135127
<dependency>
136128
<groupId>org.apache.jena</groupId>
@@ -189,7 +181,16 @@
189181
</testResource>
190182
</testResources>
191183
<plugins>
192-
<plugin>
184+
<plugin>
185+
<groupId>org.sonatype.central</groupId>
186+
<artifactId>central-publishing-maven-plugin</artifactId>
187+
<version>0.7.0</version>
188+
<extensions>true</extensions>
189+
<configuration>
190+
<publishingServerId>central</publishingServerId>
191+
</configuration>
192+
</plugin>
193+
<plugin>
193194
<groupId>org.apache.maven.plugins</groupId>
194195
<artifactId>maven-release-plugin</artifactId>
195196
<version>3.1.1</version>

0 commit comments

Comments
 (0)