diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2014-11-01 18:26:42 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2014-11-01 18:26:42 -0400 |
commit | 5abd79f1ffd5013e66285addf75e1cb3b81f05bb (patch) | |
tree | b375b861e54c325ef3b11e4bcfe914bc5f1b4358 | |
parent | bf31a32b09efc6d87651c00ed05fe7b523c3e4c7 (diff) | |
download | sangria-5abd79f1ffd5013e66285addf75e1cb3b81f05bb.tar.xz |
Use the nexus staging Maven plugin.
-rw-r--r-- | pom.xml | 27 |
1 files changed, 19 insertions, 8 deletions
@@ -39,7 +39,7 @@ </scm> <prerequisites> - <maven>3.0</maven> + <maven>3.0.4</maven> </prerequisites> <properties> @@ -172,6 +172,12 @@ <artifactId>maven-release-plugin</artifactId> <version>2.5</version> </plugin> + + <plugin> + <groupId>org.sonatype.plugins</groupId> + <artifactId>nexus-staging-maven-plugin</artifactId> + <version>1.6.5</version> + </plugin> </plugins> </pluginManagement> @@ -256,6 +262,17 @@ <useReleaseProfile>false</useReleaseProfile> </configuration> </plugin> + + <plugin> + <groupId>org.sonatype.plugins</groupId> + <artifactId>nexus-staging-maven-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <serverId>ossrh</serverId> + <nexusUrl>https://oss.sonatype.org/</nexusUrl> + <autoReleaseAfterClose>true</autoReleaseAfterClose> + </configuration> + </plugin> </plugins> </build> @@ -306,13 +323,7 @@ <profiles> <profile> - <id>release-sign-artifacts</id> - <activation> - <property> - <name>performRelease</name> - <value>true</value> - </property> - </activation> + <id>release</id> <build> <plugins> <plugin> |