Skip to content

Commit 7d5bda0

Browse files
committed
update the release and deploy plugins for new sonatype
1 parent 1a63bde commit 7d5bda0

1 file changed

Lines changed: 16 additions & 9 deletions

File tree

pom.xml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<properties>
1414
<!-- Matching versions of Core modules -->
1515
<epics-util.version>1.0.8-SNAPSHOT</epics-util.version>
16-
<epics-vtype.version>1.0.7</epics-vtype.version>
16+
<epics-vtype.version>1.0.8</epics-vtype.version>
1717
<epics-pvdata.version>6.1.10-SNAPSHOT</epics-pvdata.version>
1818
<epics-ntypes.version>0.3.10-SNAPSHOT</epics-ntypes.version>
1919
<epics-pvaccess.version>5.1.10-SNAPSHOT</epics-pvaccess.version>
@@ -126,8 +126,13 @@
126126
(id values there should match ids below) -->
127127
<snapshotRepository>
128128
<id>sonatype-nexus-snapshots</id>
129-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
129+
<name>sonatype-nexus-snapshots</name>
130+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
130131
</snapshotRepository>
132+
<repository>
133+
<id>sonatype-nexus-staging</id>
134+
<url>https://s01.oss.sonatype.org/content/repositories/releases</url>
135+
</repository>
131136
</distributionManagement>
132137

133138
<!-- Common depoendencies -->
@@ -351,14 +356,15 @@
351356
</plugin>
352357

353358
<plugin>
354-
<groupId>org.sonatype.plugins</groupId>
355-
<artifactId>nexus-staging-maven-plugin</artifactId>
356-
<version>1.6.13</version>
359+
<groupId>org.sonatype.central</groupId>
360+
<artifactId>central-publishing-maven-plugin</artifactId>
361+
<version>0.7.0</version>
357362
<extensions>true</extensions>
358363
<configuration>
359-
<serverId>sonatype-nexus-staging</serverId>
360-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
361-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
364+
<publishingServerId>sonatype-nexus-staging</publishingServerId>
365+
<checksums>required</checksums>
366+
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
367+
<autoPublish>false</autoPublish>
362368
</configuration>
363369
</plugin>
364370

@@ -406,8 +412,9 @@
406412
<build>
407413
<plugins>
408414
<plugin>
415+
<groupId>org.apache.maven.plugins</groupId>
409416
<artifactId>maven-gpg-plugin</artifactId>
410-
<version>1.6</version>
417+
<version>3.0.1</version>
411418
<executions>
412419
<execution>
413420
<id>sign-artifacts</id>

0 commit comments

Comments
 (0)