Commit c9c73dbe authored by R.W.Majeed's avatar R.W.Majeed

Missing scm url added, gpg plugin for signing releases

parent f76ddc86
......@@ -26,6 +26,7 @@
<connection>scm:git:git@gitlab.uni-oldenburg.de:rwmajeed/histream.git</connection>
<developerConnection>scm:git:git@gitlab.uni-oldenburg.de:rwmajeed/histream.git</developerConnection>
<tag>HEAD</tag>
<url>https://gitlab.uni-oldenburg.de/rwmajeed/histream/tree/master</url>
</scm>
<distributionManagement>
<snapshotRepository>
......@@ -148,6 +149,11 @@
<artifactId>maven-release-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
</plugin>
</plugins>
</pluginManagement>
......@@ -169,6 +175,35 @@
</plugin>
</plugins>
</build>
<!-- profile which signs artifacts only during release -->
<profiles>
<profile>
<id>release-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>
<reporting>
<plugins>
<plugin>
......
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