Skip to content

Commit cf79ce4

Browse files
committed
Adjustments for publishing to central.sonatype.com
1 parent 2f905ef commit cf79ce4

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
<groupId>com.dashjoin</groupId>
55
<artifactId>jsonata</artifactId>
66
<version>0.9.9</version>
7+
<name>${project.groupId}:${project.artifactId}</name>
8+
<description>JSONata Java reference port</description>
9+
<url>https://github.com/dashjoin/jsonata-java</url>
710

811
<parent>
912
<groupId>com.dashjoin</groupId>

pom/pom.xml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,6 @@
3636
<url>https://github.com/dashjoin/jsonata-java</url>
3737
</scm>
3838

39-
<distributionManagement>
40-
<snapshotRepository>
41-
<id>ossrh</id>
42-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
43-
</snapshotRepository>
44-
<repository>
45-
<id>ossrh</id>
46-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
47-
</repository>
48-
</distributionManagement>
49-
5039
<dependencies>
5140
<dependency>
5241
<groupId>org.junit.jupiter</groupId>
@@ -206,7 +195,17 @@
206195
</executions>
207196
</plugin>
208197

209-
198+
<plugin>
199+
<groupId>org.sonatype.central</groupId>
200+
<artifactId>central-publishing-maven-plugin</artifactId>
201+
<version>0.7.0</version>
202+
<extensions>true</extensions>
203+
<configuration>
204+
<publishingServerId>central</publishingServerId>
205+
<autoPublish>false</autoPublish>
206+
<!--waitUntil>published</waitUntil-->
207+
</configuration>
208+
</plugin>
210209
</plugins>
211210
</build>
212211

0 commit comments

Comments
 (0)