summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorMatthias Sohn2013-05-15 18:36:55 (EDT)
committer Szymon Brandys2013-05-16 03:41:18 (EDT)
commit3c0ea86d95a1a060383486f0e0bbfb2ebbcb1fbc (patch)
tree8538c50c44916ef52538e01f7971d78470b83828
parent674d50a6f73bccaf35be12504a4757641c6c67fa (diff)
downloadorg.eclipse.orion.server-3c0ea86d95a1a060383486f0e0bbfb2ebbcb1fbc.zip
org.eclipse.orion.server-3c0ea86d95a1a060383486f0e0bbfb2ebbcb1fbc.tar.gz
org.eclipse.orion.server-3c0ea86d95a1a060383486f0e0bbfb2ebbcb1fbc.tar.bz2
Add Nexus repository URLs to enable publishing build artifacts
Set profile build-server to download the orion client artifacts from Nexus. Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
-rw-r--r--pom.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index a249d6f..da2316b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,8 +61,22 @@
<tycho.scmUrl>scm:git:http://git.eclipse.org/gitroot/orion/org.eclipse.orion.server.git</tycho.scmUrl>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java-version>1.6</java-version>
+ <orion-repository>https://repo.eclipse.org/content/repositories/orion/</orion-repository>
</properties>
+ <distributionManagement>
+ <repository>
+ <id>repo.eclipse.org</id>
+ <name>Orion Repository - Releases</name>
+ <url>https://repo.eclipse.org/content/repositories/orion-releases/</url>
+ </repository>
+ <snapshotRepository>
+ <id>repo.eclipse.org</id>
+ <name>Orion Repository - Snapshots</name>
+ <url>https://repo.eclipse.org/content/repositories/orion-snapshots/</url>
+ </snapshotRepository>
+ </distributionManagement>
+
<profiles>
<profile>
<id>platform-kepler</id>
@@ -98,6 +112,17 @@
<module>../org.eclipse.orion.client</module>
</modules>
</profile>
+ <profile>
+ <id>build-server</id>
+ <repositories>
+ <!-- download orion.client artifacts from Nexus -->
+ <repository>
+ <id>repo.eclipse.org</id>
+ <layout>p2</layout>
+ <url>${orion-repository}</url>
+ </repository>
+ </repositories>
+ </profile>
</profiles>
<modules>