Skip to content

Commit d80b20e

Browse files
committed
add release profile
1 parent 1f44b12 commit d80b20e

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

pom.xml

+29
Original file line numberDiff line numberDiff line change
@@ -174,4 +174,33 @@
174174
<version>4.13.2</version>
175175
</dependency>
176176
</dependencies>
177+
178+
<profiles>
179+
<profile>
180+
<id>release</id>
181+
<build>
182+
<plugins>
183+
<plugin>
184+
<groupId>org.apache.maven.plugins</groupId>
185+
<artifactId>maven-gpg-plugin</artifactId>
186+
<executions>
187+
<execution>
188+
<id>sign-artifacts</id>
189+
<phase>verify</phase>
190+
<goals>
191+
<goal>sign</goal>
192+
</goals>
193+
<configuration>
194+
<gpgArguments>
195+
<arg>--pinentry-mode</arg>
196+
<arg>loopback</arg>
197+
</gpgArguments>
198+
</configuration>
199+
</execution>
200+
</executions>
201+
</plugin>
202+
</plugins>
203+
</build>
204+
</profile>
205+
</profiles>
177206
</project>

0 commit comments

Comments
 (0)