Skip to content

Commit

Permalink
Merge pull request #37317 from gsmet/gpg-no-pinentry
Browse files Browse the repository at this point in the history
Avoid asking for GPG passphrase on CI
  • Loading branch information
gsmet authored Nov 25, 2023
2 parents 4e6a95a + 86673f9 commit 2cc0555
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions independent-projects/parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -831,5 +831,30 @@
</plugins>
</build>
</profile>
<profile>
<id>ci</id>
<activation>
<property>
<name>env.CI</name>
</property>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<!-- Prevent gpg from using pinentry programs -->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
</project>

0 comments on commit 2cc0555

Please sign in to comment.