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

Missing scm url added, gpg plugin for signing releases

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