Skip to content

Commit

Permalink
🔧 chore(pom): Update pom to use gpg as env
Browse files Browse the repository at this point in the history
  • Loading branch information
Luiz-Micci authored Mar 10, 2025
1 parent 494d3e0 commit 5f25f7a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
<description>A Maven plugin for automating template-based configurations and placeholder replacements across XML, JSON, Java, and more</description>
<url>http://maven.apache.org</url>
<properties>
<!-- env GPG-->
<gpg.keyname>${env.GPG_PUBLIC_KEY}</gpg.keyname>
<gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase>

<!-- General Properties -->
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
Expand Down Expand Up @@ -522,6 +526,14 @@
</goals>
</execution>
</executions>
<configuration>
<keyname>${gpg.keyname}</keyname>
<passphrase>${gpg.passphrase}</passphrase>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</plugin>
</plugins>
<extensions>
Expand Down

0 comments on commit 5f25f7a

Please sign in to comment.