Parametrizes the gpg phase so that projects can opt out of it

This commit is contained in:
Marcin Grzejszczak
2023-02-07 16:19:17 +01:00
parent 9fa4d632f5
commit 4f137c8551

View File

@@ -140,6 +140,7 @@
<duplicate-finder-maven-plugin.bootClasspathProperty>sun.boot.class.path</duplicate-finder-maven-plugin.bootClasspathProperty>
<duplicate-finder-maven-plugin.useDefaultResourceIgnoreList>true</duplicate-finder-maven-plugin.useDefaultResourceIgnoreList>
<duplicate-finder-maven-plugin.includePomProjects>false</duplicate-finder-maven-plugin.includePomProjects>
<maven-gpg-plugin.phase>verify</maven-gpg-plugin.phase>
</properties>
<dependencyManagement>
<dependencies>
@@ -840,7 +841,7 @@
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<phase>${maven-gpg-plugin.phase}</phase>
<goals>
<goal>sign</goal>
</goals>