Skip to content

Commit

Permalink
Merge pull request #94 from spotify/fix-gpg-plugin
Browse files Browse the repository at this point in the history
Fix gpg plugin for being able to release
  • Loading branch information
caesar-ralf authored Jul 5, 2023
2 parents 7dea671 + da155c1 commit c1a8b9d
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,34 @@
</plugins>
</build>

<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>sign-artifacts</id>
<goals>
<goal>sign</goal>
</goals>
<phase>verify</phase>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>

0 comments on commit c1a8b9d

Please sign in to comment.