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

Only sign artifacts in 'release' mode

parent 186bf8fe
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
<log4j.version>1.2.17</log4j.version> <log4j.version>1.2.17</log4j.version>
<junit.version>4.12</junit.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> <nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
<aspectj.version>1.7.2</aspectj.version> <aspectj.version>1.7.2</aspectj.version>
...@@ -66,20 +65,6 @@ ...@@ -66,20 +65,6 @@
<build> <build>
<plugins> <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> <plugin>
<groupId>org.sonatype.plugins</groupId> <groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId> <artifactId>nexus-staging-maven-plugin</artifactId>
......
...@@ -57,7 +57,9 @@ ...@@ -57,7 +57,9 @@
<system>Gitlab</system> <system>Gitlab</system>
</issueManagement> </issueManagement>
<properties></properties> <properties>
<maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
</properties>
<modules> <modules>
<module>parent</module> <module>parent</module>
...@@ -83,7 +85,7 @@ ...@@ -83,7 +85,7 @@
</execution> </execution>
</executions> </executions>
<configuration> <configuration>
<check/> <check />
<formats> <formats>
<format>html</format> <format>html</format>
</formats> </formats>
...@@ -105,7 +107,7 @@ ...@@ -105,7 +107,7 @@
<tagNameFormat>application-blocks-@{project.version}</tagNameFormat> <tagNameFormat>application-blocks-@{project.version}</tagNameFormat>
</configuration> </configuration>
</plugin> </plugin>
<!--cobertura-maven-plugin--> <!--cobertura-maven-plugin -->
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId> <artifactId>cobertura-maven-plugin</artifactId>
...@@ -157,7 +159,7 @@ ...@@ -157,7 +159,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId> <artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version> <version>${maven-gpg-plugin.version}</version>
<executions> <executions>
<execution> <execution>
<id>sign-artifacts</id> <id>sign-artifacts</id>
......
Supports Markdown
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