Skip to content

Commit

Permalink
Avoid asking for GPG passphrase on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Nov 25, 2023
1 parent 8fc3e7c commit 86673f9
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 86673f9

Please sign in to comment.