Skip to content

Commit

Permalink
Add missing <build> 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 d113355 commit 1fa1c4a
Showing 1 changed file with 33 additions and 31 deletions.
64 changes: 33 additions & 31 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,37 +179,39 @@
</profile>
<profile>
<id>sonatype-oss</id>
<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>
<build>
<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>
</build>
</profile>
</profiles>
</project>

0 comments on commit 1fa1c4a

Please sign in to comment.