Skip to content

Commit 80895f6

Browse files
committed
improve epicscorejava pom, consolidate release plugins in release profile
1 parent 7d5bda0 commit 80895f6

1 file changed

Lines changed: 13 additions & 15 deletions

File tree

pom.xml

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -354,20 +354,6 @@
354354
</dependency>
355355
</dependencies>
356356
</plugin>
357-
358-
<plugin>
359-
<groupId>org.sonatype.central</groupId>
360-
<artifactId>central-publishing-maven-plugin</artifactId>
361-
<version>0.7.0</version>
362-
<extensions>true</extensions>
363-
<configuration>
364-
<publishingServerId>sonatype-nexus-staging</publishingServerId>
365-
<checksums>required</checksums>
366-
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
367-
<autoPublish>false</autoPublish>
368-
</configuration>
369-
</plugin>
370-
371357
<!-- In case one wishes to integrate with Sonarqube running on localhost -->
372358
<plugin>
373359
<groupId>org.jacoco</groupId>
@@ -411,10 +397,22 @@
411397
<id>release</id>
412398
<build>
413399
<plugins>
400+
<plugin>
401+
<groupId>org.sonatype.central</groupId>
402+
<artifactId>central-publishing-maven-plugin</artifactId>
403+
<version>0.9.0</version>
404+
<extensions>true</extensions>
405+
<configuration>
406+
<publishingServerId>sonatype-nexus-staging</publishingServerId>
407+
<checksums>required</checksums>
408+
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
409+
<autoPublish>false</autoPublish>
410+
</configuration>
411+
</plugin>
414412
<plugin>
415413
<groupId>org.apache.maven.plugins</groupId>
416414
<artifactId>maven-gpg-plugin</artifactId>
417-
<version>3.0.1</version>
415+
<version>3.2.8</version>
418416
<executions>
419417
<execution>
420418
<id>sign-artifacts</id>

0 commit comments

Comments
 (0)