This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update pom for distributing via the sonatype central repository
- Loading branch information
1 parent
bb6e54e
commit decca73
Showing
2 changed files
with
54 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
|
||
<groupId>com.ryantenney.metrics</groupId> | ||
<artifactId>metrics-spring</artifactId> | ||
<version>2.1.2-SNAPSHOT</version> | ||
<version>2.1.4-SNAPSHOT</version> | ||
<name>Metrics Spring Integration</name> | ||
<packaging>bundle</packaging> | ||
<description>Spring integration for Yammer's Metrics Library</description> | ||
|
@@ -15,8 +15,8 @@ | |
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | ||
<metrics.version>2.1.2</metrics.version> | ||
<spring.version>3.1.1.RELEASE</spring.version> | ||
<metrics.version>2.1.4</metrics.version> | ||
<spring.version>3.1.2.RELEASE</spring.version> | ||
</properties> | ||
|
||
<developers> | ||
|
@@ -31,21 +31,21 @@ | |
<license> | ||
<name>Apache License 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
|
||
<scm> | ||
<connection>scm:git:git://github.com/ryantenney/metrics-spring.git</connection> | ||
<url>http://github.com/ryantenney/metrics-spring/</url> | ||
<developerConnection>scm:git:[email protected]:ryantenney/metrics-spring.git</developerConnection> | ||
<url>https://github.com/ryantenney/metrics-spring/</url> | ||
</scm> | ||
|
||
<issueManagement> | ||
<system>github</system> | ||
<url>http://github.com/ryantenney/metrics-spring/issues</url> | ||
</issueManagement> | ||
|
||
<!-- distributionManagement> | ||
<distributionManagement> | ||
<snapshotRepository> | ||
<id>sonatype-nexus-snapshots</id> | ||
<name>Sonatype Nexus Snapshots</name> | ||
|
@@ -56,11 +56,7 @@ | |
<name>Nexus Release Repository</name> | ||
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url> | ||
</repository> | ||
<site> | ||
<id>repo.ryantenney.com</id> | ||
<url>scp://ryantenney.com/home/ryantenney/metrics.ryantenney.com/maven/</url> | ||
</site> | ||
</distributionManagement--> | ||
</distributionManagement> | ||
|
||
<dependencies> | ||
<dependency> | ||
|
@@ -176,6 +172,47 @@ | |
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-release-plugin</artifactId> | ||
<version>2.2</version> | ||
<configuration> | ||
<allowTimestampedSnapshots>true</allowTimestampedSnapshots> | ||
<!-- Make signing prompt for passphrase properly http://jira.codehaus.org/browse/MGPG-9 --> | ||
<mavenExecutorId>forked-path</mavenExecutorId> | ||
<stagingRepository>sonatype-nexus-staging::default::https://oss.sonatype.org/service/local/staging/deploy/maven2</stagingRepository> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<profiles> | ||
<profile> | ||
<id>release-sign-artifacts</id> | ||
<activation> | ||
<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.1</version> | ||
<executions> | ||
<execution> | ||
<id>sign-artifacts</id> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>sign</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
|
||
</project> |