Skip to content

Commit bdd1e41

Browse files
authored
Update pom.xml
1 parent 94099f5 commit bdd1e41

1 file changed

Lines changed: 18 additions & 5 deletions

File tree

pom.xml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
<packaging>pom</packaging>
1010

1111
<name>Datastar Java SDK</name>
12-
<description>The Datastar Java SDK</description>
12+
<description>A Java SDK for Datastar.</description>
13+
<url>https://github.com/starfederation/datastar-java</url>
1314

1415
<modules>
1516
<module>core</module>
@@ -34,6 +35,7 @@
3435
</license>
3536
</licenses>
3637

38+
<!--
3739
<distributionManagement>
3840
<snapshotRepository>
3941
<id>central</id>
@@ -44,6 +46,7 @@
4446
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
4547
</repository>
4648
</distributionManagement>
49+
-->
4750

4851
<scm>
4952
<connection>scm:git:https://github.com/starfederation/datastar-java.git</connection>
@@ -70,7 +73,6 @@
7073
<jackson.databind.version>2.18.2</jackson.databind.version>
7174
</properties>
7275

73-
7476
<profiles>
7577
<profile>
7678
<id>release-deploy</id>
@@ -188,10 +190,21 @@
188190
</argLine>
189191
</configuration>
190192
</plugin>
193+
<!-- Central Publishing Maven Plugin -->
191194
<plugin>
192-
<groupId>org.apache.maven.plugins</groupId>
193-
<artifactId>maven-deploy-plugin</artifactId>
194-
<version>${maven.deploy.plugin.version}</version>
195+
<groupId>org.sonatype.centralsync</groupId>
196+
<artifactId>central-publishing-maven-plugin</artifactId>
197+
<version>0.8.0</version>
198+
<executions>
199+
<execution>
200+
<goals>
201+
<goal>publish</goal>
202+
</goals>
203+
</execution>
204+
</executions>
205+
<configuration>
206+
<publishingServerId>central</publishingServerId>
207+
</configuration>
195208
</plugin>
196209
</plugins>
197210
</build>

0 commit comments

Comments
 (0)