Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to use nexus-staging-maven-plugin #1

Merged
merged 2 commits into from
Mar 27, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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