Skip to content

Commit feda61d

Browse files
authored
Publish to Maven Central with central-publishing-maven-plugin (#285)
--------- Signed-off-by: Jerome Prinet <jprinet@gradle.com>
1 parent 9a96149 commit feda61d

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

pom.xml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,6 @@
3232
<id>Documentation</id>
3333
<url>https://docs.gradle.com</url>
3434
</site>
35-
<snapshotRepository>
36-
<id>ossrh</id>
37-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
38-
</snapshotRepository>
39-
<repository>
40-
<id>ossrh</id>
41-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</url>
42-
</repository>
4335
</distributionManagement>
4436

4537
<developers>
@@ -240,6 +232,18 @@
240232
<skipNoKey>false</skipNoKey>
241233
</configuration>
242234
</plugin>
235+
<plugin>
236+
<groupId>org.sonatype.central</groupId>
237+
<artifactId>central-publishing-maven-plugin</artifactId>
238+
<version>0.7.0</version>
239+
<extensions>true</extensions>
240+
<configuration>
241+
<publishingServerId>ossrh</publishingServerId>
242+
<autoPublish>true</autoPublish>
243+
<waitUntil>published</waitUntil>
244+
<deploymentName>Common Custom User Data Maven Extension</deploymentName>
245+
</configuration>
246+
</plugin>
243247
</plugins>
244248
</build>
245249
</profile>

0 commit comments

Comments
 (0)