Created
September 24, 2013 07:03
-
-
Save avh4/6681247 to your computer and use it in GitHub Desktop.
Configuring maven project to deploy on Sonatype with maven-jgitflow-plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
<parent> | |
<groupId>org.sonatype.oss</groupId> | |
<artifactId>oss-parent</artifactId> | |
<version>7</version> | |
</parent> | |
... | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>com.atlassian.maven.plugins</groupId> | |
<artifactId>maven-jgitflow-plugin</artifactId> | |
<version>1.0-alpha21.1</version> | |
<configuration> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
... | |
<profiles> | |
<profile> | |
<id>releaseBranchPrefix-sign-artifacts</id> | |
<activation> | |
<property> | |
<name>performRelease</name> | |
<value>true</value> | |
</property> | |
</activation> | |
<build> | |
<plugins> | |
<plugin> | |
<artifactId>maven-gpg-plugin</artifactId> | |
<version>1.4</version> | |
<executions> | |
<execution> | |
<id>sign-artifacts</id> | |
<phase>verify</phase> | |
<goals> | |
<goal>sign</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> | |
</profiles> | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment