Skip to content

Commit f190936

Browse files
javier-godoymlopezFC
authored andcommitted
ci: add GPG settings
1 parent bd3de0d commit f190936

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

pom.xml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,35 @@
234234
</plugins>
235235
</reporting>
236236

237+
<profiles>
238+
<profile>
239+
<id>gpg</id>
240+
<activation>
241+
<property>
242+
<name>gpg.passphrase</name>
243+
</property>
244+
</activation>
245+
<build>
246+
<plugins>
247+
<plugin>
248+
<groupId>org.apache.maven.plugins</groupId>
249+
<artifactId>maven-gpg-plugin</artifactId>
250+
<version>3.1.0</version>
251+
<executions>
252+
<execution>
253+
<id>sign-artifacts</id>
254+
<phase>verify</phase>
255+
<goals>
256+
<goal>sign</goal>
257+
</goals>
258+
</execution>
259+
</executions>
260+
</plugin>
261+
</plugins>
262+
</build>
263+
</profile>
264+
</profiles>
265+
237266
<distributionManagement>
238267
<site>
239268
<id>site</id>

0 commit comments

Comments
 (0)