Skip to content
This repository was archived by the owner on Aug 31, 2022. It is now read-only.

Commit d864ecc

Browse files
authored
Merge pull request #202 from spotify/batch-sign
avoid interacting with gpg-agent
2 parents 4d56f2d + a863779 commit d864ecc

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
@@ -555,6 +555,34 @@
555555
</plugins>
556556
</build>
557557
</profile>
558+
<profile>
559+
<id>release-batch-mode</id>
560+
<build>
561+
<plugins>
562+
<plugin>
563+
<groupId>org.apache.maven.plugins</groupId>
564+
<artifactId>maven-gpg-plugin</artifactId>
565+
<version>1.6</version>
566+
<executions>
567+
<execution>
568+
<id>sign-artifacts</id>
569+
<phase>verify</phase>
570+
<goals>
571+
<goal>sign</goal>
572+
</goals>
573+
<configuration>
574+
<gpgArguments>
575+
<arg>--batch</arg>
576+
<arg>--pinentry-mode</arg>
577+
<arg>loopback</arg>
578+
</gpgArguments>
579+
</configuration>
580+
</execution>
581+
</executions>
582+
</plugin>
583+
</plugins>
584+
</build>
585+
</profile>
558586
</profiles>
559587

560588
<distributionManagement>

0 commit comments

Comments
 (0)