Skip to content

Commit

Permalink
- Add distribution management (via a profile) so we can deploy to so…
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon van der Sluis committed May 17, 2012
1 parent 367c75f commit a9149df
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions pom.xml
Expand Up @@ -164,4 +164,54 @@
</dependency>
</dependencies>

<profiles>
<profile>
<id>development</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>release-sign-artifacts</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
</profile>
</profiles>


</project>

0 comments on commit a9149df

Please sign in to comment.