Skip to content

Commit 19f2479

Browse files
committed
pom changes for release
1 parent 4d0b0ea commit 19f2479

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

pom.xml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,5 +219,35 @@
219219
</executions>
220220
</plugin>
221221
</plugins>
222-
</build>
222+
</build>
223+
<profiles>
224+
<profile>
225+
<id>release</id>
226+
<build>
227+
<plugins>
228+
<!--Sign the components - this is required by maven central for releases -->
229+
<plugin>
230+
<artifactId>maven-gpg-plugin</artifactId>
231+
<version>3.0.1</version>
232+
<configuration>
233+
<gpgArguments>
234+
<arg>--pinentry-mode</arg>
235+
<arg>loopback</arg>
236+
</gpgArguments>
237+
</configuration>
238+
<executions>
239+
<execution>
240+
<id>sign-artifacts</id>
241+
<phase>verify</phase>
242+
<goals>
243+
<goal>sign</goal>
244+
</goals>
245+
</execution>
246+
</executions>
247+
</plugin>
248+
</plugins>
249+
</build>
250+
</profile>
251+
</profiles>
252+
223253
</project>

0 commit comments

Comments
 (0)