Skip to content

Commit

Permalink
Merge pull request #1 from jglick/nexus-staging-maven-plugin
Browse files Browse the repository at this point in the history
Trying to use nexus-staging-maven-plugin
  • Loading branch information
stephenc committed Mar 27, 2015
2 parents 4081b2c + 6f836f3 commit 5e31d74
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<repository>
<id>cloudbees-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>${sonatypeOssDistMgmtSnapshotsUrl}</url>
<releases>
<enabled>false</enabled>
</releases>
Expand Down Expand Up @@ -119,6 +119,17 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.5</version>
<extensions>true</extensions>
<configuration>
<serverId>sonatype-nexus-staging</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
Expand Down Expand Up @@ -151,6 +162,7 @@
<version>2.5.1</version>
<configuration>
<mavenExecutorId>forked-path</mavenExecutorId>
<!-- TODO is there something wrong with the standard release profile, other than not including maven-gpg-plugin? -->
<useReleaseProfile>false</useReleaseProfile>
<arguments>-P+cloudbees-oss-release ${arguments}</arguments>
</configuration>
Expand Down

0 comments on commit 5e31d74

Please sign in to comment.