Skip to content

Commit

Permalink
Change plugins to allow to build (#10)
Browse files Browse the repository at this point in the history
* Change plugins to allow to build
* update spec plugin
* moved gpg plugin to release profile

Signed-off-by: Jonathan Coustick <jonathan.coustick@payara.fish>
  • Loading branch information
Cousjava authored and m0mus committed Sep 27, 2018
1 parent bc250b3 commit fa7e06e
Showing 1 changed file with 27 additions and 16 deletions.
43 changes: 27 additions & 16 deletions pom.xml
Expand Up @@ -106,8 +106,9 @@
<plugin>
<groupId>org.glassfish.build</groupId>
<artifactId>spec-version-maven-plugin</artifactId>
<version>1.2</version>
<version>1.5</version>
<configuration>
<specMode>jakarta</specMode>
<spec>
<nonFinal>${non.final}</nonFinal>
<jarType>api</jarType>
Expand Down Expand Up @@ -264,20 +265,6 @@
</reporting>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand All @@ -288,5 +275,29 @@
<version>4.0.0</version>
<optional>true</optional>
</dependency>
</dependencies>
</dependencies>

<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit fa7e06e

Please sign in to comment.