Skip to content

Commit

Permalink
moved signing to profile
Browse files Browse the repository at this point in the history
Signed-off-by: Kai Kreuzer <kai@openhab.org>
  • Loading branch information
kaikreuzer authored and pfink committed May 28, 2019
1 parent 4301096 commit de07850
Showing 1 changed file with 26 additions and 16 deletions.
42 changes: 26 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,32 @@
</repository>
</repositories>
</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>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<build>
Expand All @@ -152,21 +178,5 @@
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit de07850

Please sign in to comment.