Skip to content

Commit 2bd0098

Browse files
committed
chore: profile for signing
Signed-off-by: Sam Gammon <[email protected]>
1 parent 825394f commit 2bd0098

File tree

1 file changed

+39
-2
lines changed

1 file changed

+39
-2
lines changed

pom.xml

+39-2
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,45 @@
390390
</executions>
391391
</plugin>
392392
</plugins>
393-
</build>
394-
</profile>
393+
</build>
394+
</profile>
395+
<profile>
396+
<id>signing</id>
397+
<build>
398+
<plugins>
399+
<plugin>
400+
<groupId>dev.sigstore</groupId>
401+
<artifactId>sigstore-maven-plugin</artifactId>
402+
<executions>
403+
<execution>
404+
<id>sign</id>
405+
<goals>
406+
<goal>sign</goal>
407+
</goals>
408+
</execution>
409+
</executions>
410+
</plugin>
411+
<plugin>
412+
<artifactId>maven-gpg-plugin</artifactId>
413+
<executions>
414+
<execution>
415+
<id>sign-artifacts</id>
416+
<phase>verify</phase>
417+
<goals>
418+
<goal>sign</goal>
419+
</goals>
420+
</execution>
421+
</executions>
422+
</plugin>
423+
</plugins>
424+
</build>
425+
<activation>
426+
<property>
427+
<name>sign</name>
428+
<value>true</value>
429+
</property>
430+
</activation>
431+
</profile>
395432
<profile>
396433
<!--
397434
Passes JDK 11-12-specific `no-module-directories` flag to Javadoc tool,

0 commit comments

Comments
 (0)