Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request iipc#12 from nlevitt/unified-pom
Browse files Browse the repository at this point in the history
configure properties so sonatype repositories are defaults for distribut...
  • Loading branch information
ikreymer committed Feb 28, 2014
2 parents 8b4833c + d81936c commit 3d28897
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@
<build.time>${maven.build.timestamp}</build.time>
<maven.build.timestamp.format>yyyyMMddhhmmss</maven.build.timestamp.format>
<build.tag></build.tag>
<!-- sonatype repositories are defaults for distributionManagement -->
<repository.url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</repository.url>
<snapshotRepository.url>https://oss.sonatype.org/content/repositories/snapshots/</snapshotRepository.url>
</properties>

<dependencies>
Expand Down Expand Up @@ -243,13 +246,11 @@
<distributionManagement>
<repository>
<id>repository</id>
<!--Pass as command-line system property to maven-->
<url>${repository.url}</url>
</repository>
<snapshotRepository>
<id>repository</id>
<!--Pass as command-line system property to maven-->
<url>${repository.url}</url>
<id>snapshotRepository</id>
<url>${snapshotRepository.url}</url>
</snapshotRepository>
</distributionManagement>

Expand Down

0 comments on commit 3d28897

Please sign in to comment.