Skip to content

Commit 13eb1c0

Browse files
committed
Switched from OSSRH to new central
1 parent 44cde78 commit 13eb1c0

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

pom.xml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -68,19 +68,17 @@
6868

6969
<build>
7070
<plugins>
71-
<plugin>
72-
<artifactId>maven-deploy-plugin</artifactId>
73-
<version>2.7</version>
74-
<executions>
75-
<execution>
76-
<id>default-deploy</id>
77-
<phase>deploy</phase>
78-
<goals>
79-
<goal>deploy</goal>
80-
</goals>
81-
</execution>
82-
</executions>
83-
</plugin>
71+
<plugins>
72+
<plugin>
73+
<groupId>org.sonatype.central</groupId>
74+
<artifactId>central-publishing-maven-plugin</artifactId>
75+
<version>0.9.0</version>
76+
<extensions>true</extensions>
77+
<configuration>
78+
<publishingServerId>central</publishingServerId>
79+
</configuration>
80+
</plugin>
81+
</plugins>
8482
<plugin>
8583
<groupId>org.apache.maven.plugins</groupId>
8684
<artifactId>maven-source-plugin</artifactId>
@@ -119,7 +117,7 @@
119117
<goal>sign</goal>
120118
</goals>
121119
<configuration>
122-
<keyname>6802C125C9069802B97A080910CE6063CEE9C47B</keyname>
120+
<keyname>EC9CCFF8901F0AA22191DCEDD619376246C066D0</keyname>
123121
<passphraseServerId>gpg</passphraseServerId>
124122
<gpgArguments>
125123
<arg>--no-tty</arg>
@@ -135,12 +133,12 @@
135133

136134
<distributionManagement>
137135
<snapshotRepository>
138-
<id>ossrh</id>
139-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
136+
<id>central</id>
137+
<url>https://central.sonatype.com</url>
140138
</snapshotRepository>
141139
<repository>
142-
<id>ossrh</id>
143-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
140+
<id>central</id>
141+
<url>https://central.sonatype.com</url>
144142
</repository>
145143
</distributionManagement>
146144

0 commit comments

Comments
 (0)