Skip to content
Browse files

- Add distribution management (via a profile) so we can deploy to so…

  • Loading branch information...
1 parent 367c75f commit a9149df3ac578cc9f45d47751edd3cebc5565979 Simon van der Sluis committed May 17, 2012
Showing with 50 additions and 0 deletions.
  1. +50 −0 pom.xml
View
50 pom.xml
@@ -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.
Something went wrong with that request. Please try again.