Skip to content

Commit 218ba11

Browse files
javier-godoypaodb
authored andcommitted
ci: add gpg profile
1 parent 46b0744 commit 218ba11

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

pom.xml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,34 @@
543543
</plugins>
544544
</build>
545545
</profile>
546+
547+
<profile>
548+
<id>gpg</id>
549+
<activation>
550+
<property>
551+
<name>env.MAVEN_GPG_PASSPHRASE</name>
552+
</property>
553+
</activation>
554+
<build>
555+
<plugins>
556+
<plugin>
557+
<groupId>org.apache.maven.plugins</groupId>
558+
<artifactId>maven-gpg-plugin</artifactId>
559+
<version>3.2.7</version>
560+
<executions>
561+
<execution>
562+
<id>sign-artifacts</id>
563+
<phase>verify</phase>
564+
<goals>
565+
<goal>sign</goal>
566+
</goals>
567+
</execution>
568+
</executions>
569+
</plugin>
570+
</plugins>
571+
</build>
572+
</profile>
573+
546574
<profile>
547575
<id>demo-jar</id>
548576
<build>

0 commit comments

Comments
 (0)