Skip to content

Commit 35f81cc

Browse files
committed
tweak maven central pluging - remove specific version
1 parent ca064bf commit 35f81cc

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
@@ -870,33 +870,31 @@
870870
</properties>
871871
<build>
872872
<plugins>
873+
<plugin>
874+
<groupId>org.apache.maven.plugins</groupId>
875+
<artifactId>maven-gpg-plugin</artifactId>
876+
<executions>
877+
<execution>
878+
<id>sign-artifacts</id>
879+
<phase>verify</phase>
880+
<goals>
881+
<goal>sign</goal>
882+
</goals>
883+
</execution>
884+
</executions>
885+
<configuration>
886+
<!-- Passphrase consumed from MAVEN_GPG_PASSPHRASE environment variable. -->
887+
</configuration>
888+
</plugin>
873889
<plugin>
874890
<groupId>org.sonatype.central</groupId>
875891
<artifactId>central-publishing-maven-plugin</artifactId>
876-
<version>0.8.0</version>
877892
<extensions>true</extensions>
878893
<configuration>
879894
<publishingServerId>central</publishingServerId>
880895
<autoPublish>true</autoPublish>
881896
</configuration>
882897
</plugin>
883-
<plugin>
884-
<groupId>org.apache.maven.plugins</groupId>
885-
<artifactId>maven-gpg-plugin</artifactId>
886-
<version>3.2.5</version>
887-
<executions>
888-
<execution>
889-
<id>sign-artifacts</id>
890-
<phase>verify</phase>
891-
<goals>
892-
<goal>sign</goal>
893-
</goals>
894-
</execution>
895-
</executions>
896-
<configuration>
897-
<!-- Passphrase consumed from MAVEN_GPG_PASSPHRASE environment variable. -->
898-
</configuration>
899-
</plugin>
900898
</plugins>
901899
</build>
902900
</profile>

0 commit comments

Comments
 (0)