Skip to content

Commit e04aac8

Browse files
committed
chore(release): configure signing
1 parent 22e3c22 commit e04aac8

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

pom.xml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,4 +601,41 @@
601601
</plugins>
602602
</reporting>
603603

604+
<profiles>
605+
<!-- GPG Signature on release -->
606+
<profile>
607+
<id>release-sign-artifacts</id>
608+
<activation>
609+
<property>
610+
<name>performRelease</name>
611+
<value>true</value>
612+
</property>
613+
</activation>
614+
<build>
615+
<plugins>
616+
<plugin>
617+
<groupId>org.apache.maven.plugins</groupId>
618+
<artifactId>maven-gpg-plugin</artifactId>
619+
<version>3.1.0</version>
620+
<executions>
621+
<execution>
622+
<id>sign-artifacts</id>
623+
<phase>verify</phase>
624+
<goals>
625+
<goal>sign</goal>
626+
</goals>
627+
<configuration>
628+
<gpgArguments>
629+
<arg>--pinentry-mode</arg>
630+
<arg>loopback</arg>
631+
</gpgArguments>
632+
</configuration>
633+
</execution>
634+
</executions>
635+
</plugin>
636+
</plugins>
637+
</build>
638+
</profile>
639+
</profiles>
640+
604641
</project>

0 commit comments

Comments
 (0)