Commit 7b55e2a0 authored by Matija Obreza's avatar Matija Obreza
Browse files

Only sign artifacts in 'release' mode

parent 186bf8fe
......@@ -38,7 +38,6 @@
<log4j.version>1.2.17</log4j.version>
<junit.version>4.12</junit.version>
<maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
<aspectj.version>1.7.2</aspectj.version>
......@@ -66,20 +65,6 @@
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
......
......@@ -57,7 +57,9 @@
<system>Gitlab</system>
</issueManagement>
<properties></properties>
<properties>
<maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
</properties>
<modules>
<module>parent</module>
......@@ -83,7 +85,7 @@
</execution>
</executions>
<configuration>
<check/>
<check />
<formats>
<format>html</format>
</formats>
......@@ -105,7 +107,7 @@
<tagNameFormat>application-blocks-@{project.version}</tagNameFormat>
</configuration>
</plugin>
<!--cobertura-maven-plugin-->
<!--cobertura-maven-plugin -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
......@@ -157,7 +159,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<version>${maven-gpg-plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment