Skip to content

Commit

Permalink
Fixed gpg plugin signing
Browse files Browse the repository at this point in the history
  • Loading branch information
koushikr committed Sep 12, 2024
1 parent 2a2abfe commit 895a97a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 36 deletions.
5 changes: 0 additions & 5 deletions leia-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@
<artifactId>leia-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.grookage.leia</groupId>
<artifactId>leia-client</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.grookage.leia</groupId>
<artifactId>leia-elastic</artifactId>
Expand Down
50 changes: 19 additions & 31 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -195,41 +195,29 @@
<stagingProgressTimeoutMinutes>10</stagingProgressTimeoutMinutes>
</configuration>
</plugin>

<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<configuration>
<executable>gpg</executable>
<useAgent>true</useAgent>
</configuration>
<goals>
<goal>sign</goal>
</goals>
<id>sign-artifacts</id>
<phase>verify</phase>
</execution>
</executions>
<groupId>org.apache.maven.plugins</groupId>
<version>${maven.gpg.plugin.version}</version>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release</id>
<activation>
<property>
<name>release</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<configuration>
<executable>gpg</executable>
<useAgent>true</useAgent>
</configuration>
<goals>
<goal>sign</goal>
</goals>
<id>sign-artifacts</id>
<phase>verify</phase>
</execution>
</executions>
<groupId>org.apache.maven.plugins</groupId>
<version>${maven.gpg.plugin.version}</version>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>add-java-open-options-for-jdk16+</id>
<activation>
Expand Down

0 comments on commit 895a97a

Please sign in to comment.