Skip to content

Commit f13934e

Browse files
authored
Update pom.xml
1 parent 9741ff6 commit f13934e

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

pom.xml

+30
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,36 @@
110110
</build>
111111
</profile>
112112

113+
<profile>
114+
<id>sign</id>
115+
<build>
116+
<plugins>
117+
<plugin>
118+
<groupId>org.apache.maven.plugins</groupId>
119+
<artifactId>maven-gpg-plugin</artifactId>
120+
<version>3.0.1</version>
121+
<executions>
122+
<execution>
123+
<id>sign-artifacts</id>
124+
<phase>verify</phase>
125+
<goals>
126+
<goal>sign</goal>
127+
</goals>
128+
<configuration>
129+
<keyname>${env.GPG_KEYID}</keyname>
130+
<passphraseServerId>${env.GPG_KEYID}</passphraseServerId>
131+
<gpgArguments>
132+
<arg>--pinentry-mode</arg>
133+
<arg>loopback</arg>
134+
</gpgArguments>
135+
</configuration>
136+
</execution>
137+
</executions>
138+
</plugin>
139+
</plugins>
140+
</build>
141+
</profile>
142+
113143
</profiles>
114144

115145
<properties>

0 commit comments

Comments
 (0)