Skip to content

Commit 6b0e5f3

Browse files
authored
remove repository config for old sonatype plugin (#1821)
1 parent 594a6ec commit 6b0e5f3

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

bom/pom.xml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,6 @@
3737
<url>http://github.com/SAP/cloud-security-xsuaa-integration/tree/main</url>
3838
</scm>
3939

40-
<distributionManagement>
41-
<snapshotRepository>
42-
<id>ossrh</id>
43-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
44-
</snapshotRepository>
45-
<repository>
46-
<id>ossrh</id>
47-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
48-
</repository>
49-
</distributionManagement>
50-
5140
<properties>
5241
<maven.compiler.source>17</maven.compiler.source>
5342
<maven.compiler.target>17</maven.compiler.target>
@@ -168,14 +157,12 @@
168157
</executions>
169158
</plugin>
170159
<plugin>
171-
<groupId>org.sonatype.plugins</groupId>
172-
<artifactId>nexus-staging-maven-plugin</artifactId>
173-
<version>1.7.0</version>
160+
<groupId>org.sonatype.central</groupId>
161+
<artifactId>central-publishing-maven-plugin</artifactId>
162+
<version>0.8.0</version>
174163
<extensions>true</extensions>
175164
<configuration>
176-
<serverId>ossrh</serverId>
177-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
178-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
165+
<publishingServerId>central</publishingServerId>
179166
</configuration>
180167
</plugin>
181168
</plugins>

0 commit comments

Comments
 (0)