Skip to content

Commit d395f2a

Browse files
committed
Migrate to Maven Central Portal API for releases
Signed-off-by: Marvin Froeder <[email protected]>
1 parent 9f1159d commit d395f2a

File tree

1 file changed

+9
-20
lines changed

1 file changed

+9
-20
lines changed

pom.xml

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,6 @@
7575
<url>${project.githubpage}</url>
7676
</scm>
7777

78-
<distributionManagement>
79-
<repository>
80-
<id>central</id>
81-
<url>https://central.sonatype.com/api/v1/publisher/deployments/upload/</url>
82-
</repository>
83-
<snapshotRepository>
84-
<id>central</id>
85-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
86-
</snapshotRepository>
87-
</distributionManagement>
88-
8978
<properties>
9079
<!-- removing old modules on 7.0 release -->
9180
<japicmp.skip>true</japicmp.skip>
@@ -798,7 +787,7 @@
798787
</profile>
799788

800789
<profile>
801-
<id>staging</id>
790+
<id>release</id>
802791
<build>
803792
<plugins>
804793
<plugin>
@@ -810,16 +799,16 @@
810799
<publishingServerId>central</publishingServerId>
811800
<autoPublish>true</autoPublish>
812801
<waitUntil>published</waitUntil>
802+
<checksums>required</checksums>
803+
</configuration>
804+
</plugin>
805+
<plugin>
806+
<groupId>org.apache.maven.plugins</groupId>
807+
<artifactId>maven-deploy-plugin</artifactId>
808+
<configuration>
809+
<skip>true</skip>
813810
</configuration>
814811
</plugin>
815-
</plugins>
816-
</build>
817-
</profile>
818-
819-
<profile>
820-
<id>release</id>
821-
<build>
822-
<plugins>
823812
<!-- Creates source jar -->
824813
<plugin>
825814
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)