Skip to content

Commit cae4f32

Browse files
committed
Merge branch 'master' of github.com:GeoLatte/geolatte-geom
2 parents 5e3b204 + 5207c32 commit cae4f32

File tree

1 file changed

+8
-33
lines changed

1 file changed

+8
-33
lines changed

pom.xml

Lines changed: 8 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -128,20 +128,19 @@
128128
</executions>
129129
</plugin>
130130

131-
<!-- Sonatype release plugin -->
132131
<plugin>
133-
<groupId>org.sonatype.plugins</groupId>
134-
<artifactId>nexus-staging-maven-plugin</artifactId>
135-
<version>1.6.8</version>
132+
<groupId>org.sonatype.central</groupId>
133+
<artifactId>central-publishing-maven-plugin</artifactId>
134+
<version>0.9.0</version>
136135
<extensions>true</extensions>
137136
<configuration>
138-
<serverId>ossrh</serverId>
139-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
140-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
137+
<autoPublish>true</autoPublish>
138+
<publishingServerId>central</publishingServerId>
139+
<waitUntil>uploaded</waitUntil>
140+
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
141+
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
141142
</configuration>
142143
</plugin>
143-
144-
145144
</plugins>
146145
</build>
147146

@@ -206,18 +205,6 @@
206205
</executions>
207206
</plugin>
208207

209-
<plugin>
210-
<groupId>org.sonatype.plugins</groupId>
211-
<artifactId>nexus-staging-maven-plugin</artifactId>
212-
<version>1.6.8</version>
213-
<extensions>true</extensions>
214-
<configuration>
215-
<serverId>ossrh</serverId>
216-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
217-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
218-
</configuration>
219-
</plugin>
220-
221208
<!-- see https://maven.apache.org/maven-ci-friendly.html -->
222209
<plugin>
223210
<groupId>org.codehaus.mojo</groupId>
@@ -248,18 +235,6 @@
248235
</plugins>
249236
</build>
250237

251-
252-
<distributionManagement>
253-
<snapshotRepository>
254-
<id>ossrh</id>
255-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
256-
</snapshotRepository>
257-
<repository>
258-
<id>ossrh</id>
259-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
260-
</repository>
261-
</distributionManagement>
262-
263238
<repositories>
264239
<repository>
265240
<id>osgeo</id>

0 commit comments

Comments
 (0)