Skip to content

Commit

Permalink
Add missing <plugins> to sonatype-oss profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuart Sierra committed Apr 19, 2013
1 parent 6d46ae7 commit d113355
Showing 1 changed file with 31 additions and 29 deletions.
60 changes: 31 additions & 29 deletions pom.xml
Expand Up @@ -179,35 +179,37 @@
</profile>
<profile>
<id>sonatype-oss</id>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.4.3</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<!-- By default, this is the phase deploy goal will bind to -->
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- The Base URL of Nexus instance where we want to stage -->
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<!-- The server "id" element from settings to use authentication from -->
<serverId>sonatype-oss</serverId>
</configuration>
</plugin>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.4.3</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<!-- By default, this is the phase deploy goal will bind to -->
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- The Base URL of Nexus instance where we want to stage -->
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<!-- The server "id" element from settings to use authentication from -->
<serverId>sonatype-oss</serverId>
</configuration>
</plugin>
</plugins>
</profile>
</profiles>
</project>

0 comments on commit d113355

Please sign in to comment.