Skip to content

Commit

Permalink
Move GPG sign artifacts to profile
Browse files Browse the repository at this point in the history
  • Loading branch information
sarxos committed Jul 10, 2012
1 parent 58c95f4 commit 33c0192
Showing 1 changed file with 30 additions and 13 deletions.
43 changes: 30 additions & 13 deletions webcam-capture/pom.xml
Expand Up @@ -64,6 +64,35 @@
</dependency>
</dependencies>

<profiles>
<profile>
<id>pgp-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</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>
</profiles>

<build>
<pluginManagement>
<plugins>
Expand Down Expand Up @@ -168,19 +197,7 @@
</execution>
</executions>
</plugin>
<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>

<!--
<plugin>
<groupId>com.github.github</groupId>
Expand Down

0 comments on commit 33c0192

Please sign in to comment.