summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-11-01 18:26:42 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-11-01 18:26:42 -0400
commit5abd79f1ffd5013e66285addf75e1cb3b81f05bb (patch)
treeb375b861e54c325ef3b11e4bcfe914bc5f1b4358
parentbf31a32b09efc6d87651c00ed05fe7b523c3e4c7 (diff)
downloadsangria-5abd79f1ffd5013e66285addf75e1cb3b81f05bb.tar.xz
Use the nexus staging Maven plugin.
-rw-r--r--pom.xml27
1 files changed, 19 insertions, 8 deletions
diff --git a/pom.xml b/pom.xml
index 90d166e..ed49eac 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>