Skip to content

Commit 798859a

Browse files
authored
feat: modify GPG signature generation in pom.xml (#14)
1 parent 385439c commit 798859a

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

pom.xml

+9-4
Original file line numberDiff line numberDiff line change
@@ -100,18 +100,23 @@
100100
<plugin>
101101
<groupId>org.apache.maven.plugins</groupId>
102102
<artifactId>maven-gpg-plugin</artifactId>
103-
<version>1.6</version>
104-
<configuration>
105-
<skip>true</skip>
106-
</configuration>
103+
<version>1.5</version>
107104
<executions>
108105
<execution>
106+
<id>sign-artifacts</id>
109107
<phase>verify</phase>
110108
<goals>
111109
<goal>sign</goal>
112110
</goals>
113111
</execution>
114112
</executions>
113+
<configuration>
114+
<!-- Prevent gpg from using pinentry programs -->
115+
<gpgArguments>
116+
<arg>--pinentry-mode</arg>
117+
<arg>loopback</arg>
118+
</gpgArguments>
119+
</configuration>
115120
</plugin>
116121
<plugin>
117122
<groupId>org.jacoco</groupId>

0 commit comments

Comments
 (0)