Skip to content

Commit

Permalink
Adding build profile to sign using gpg key.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzonthemtn committed Jan 15, 2025
1 parent 233a5d9 commit 0e88dfe
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
<snakeyaml.version>2.3</snakeyaml.version>
<spring.boot.version>2.1.8.RELEASE</spring.boot.version>
</properties>

<build>
<pluginManagement>
<plugins>
Expand Down Expand Up @@ -266,6 +267,31 @@
</plugins>
</build>
</profile>
<profile>
<id>sign</id>
<activation>
<property>
<name>sign</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>owasp</id>
<activation>
Expand Down

0 comments on commit 0e88dfe

Please sign in to comment.