Skip to content

Commit 5f25f7a

Browse files
authored
🔧 chore(pom): Update pom to use gpg as env
1 parent 494d3e0 commit 5f25f7a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
<description>A Maven plugin for automating template-based configurations and placeholder replacements across XML, JSON, Java, and more</description>
1111
<url>http://maven.apache.org</url>
1212
<properties>
13+
<!-- env GPG-->
14+
<gpg.keyname>${env.GPG_PUBLIC_KEY}</gpg.keyname>
15+
<gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase>
16+
1317
<!-- General Properties -->
1418
<maven.compiler.target>11</maven.compiler.target>
1519
<maven.compiler.source>11</maven.compiler.source>
@@ -522,6 +526,14 @@
522526
</goals>
523527
</execution>
524528
</executions>
529+
<configuration>
530+
<keyname>${gpg.keyname}</keyname>
531+
<passphrase>${gpg.passphrase}</passphrase>
532+
<gpgArguments>
533+
<arg>--pinentry-mode</arg>
534+
<arg>loopback</arg>
535+
</gpgArguments>
536+
</configuration>
525537
</plugin>
526538
</plugins>
527539
<extensions>

0 commit comments

Comments
 (0)