Skip to content

Commit

Permalink
Release repository and profile to sign artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
ianroberts committed Feb 9, 2018
1 parent 0890bd6 commit 07c38c1
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@
</build>

<distributionManagement>
<repository>
<id>gate-oss</id>
<name>Sonatype OSS staging</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
<layout>default</layout>
</repository>
<snapshotRepository>
<id>gate.snapshots</id>
<name>GATE Snapshots Repository</name>
Expand All @@ -89,4 +95,27 @@
</snapshotRepository>
</distributionManagement>

<profiles>
<profile>
<id>gpg-sign</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 07c38c1

Please sign in to comment.