Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2015-08-19 14:36:29 +0000
committerLars Vogel2015-08-19 14:40:32 +0000
commit11fb475be8bf7d7bdfa6d726acdaaf1fa913cd5c (patch)
treea49062aa7c9e75899dd3c11a6a2ec5824feb25c0
parente7a98d67d68eda4562e9a34b0ad700f48ffde443 (diff)
downloadeclipse.platform.runtime-11fb475be8bf7d7bdfa6d726acdaaf1fa913cd5c.tar.gz
eclipse.platform.runtime-11fb475be8bf7d7bdfa6d726acdaaf1fa913cd5c.tar.xz
eclipse.platform.runtime-11fb475be8bf7d7bdfa6d726acdaaf1fa913cd5c.zip
Bug 471835 - Build succeeds, even when old parent pom is referred to
Change-Id: I2c099c962ebb68456614cf6b718361682b539225 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--pom.xml37
1 files changed, 24 insertions, 13 deletions
diff --git a/pom.xml b/pom.xml
index 2319ad667..f1c13f153 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (c) 2012, 2013 Eclipse Foundation and others.
+ Copyright (c) 2012, 2015 Eclipse Foundation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Distribution License v1.0
which accompanies this distribution, and is available at
@@ -8,6 +8,7 @@
Contributors:
Igor Fedorenko - initial implementation
+ Lars Vogel <Lars.Vogel@vogella.com> - Bug 471835
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -28,18 +29,28 @@
<tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/platform/eclipse.platform.runtime.git</tycho.scmUrl>
</properties>
- <repositories>
- <repository>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <id>eclipse-hosted</id>
- <url>https://repo.eclipse.org/content/repositories/eclipse/</url>
- </repository>
- </repositories>
+ <!--
+ To build individual bundles, we specify a repository where to find parent pom,
+ in case it is not in local maven cache already
+ and that parent pom also has fuller individual-bundle profile
+ defined that is combined with this one. -->
+ <profiles>
+ <profile>
+ <id>build-individual-bundles</id>
+ <repositories>
+ <repository>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <id>eclipse-hosted</id>
+ <url>https://repo.eclipse.org/content/repositories/eclipse/</url>
+ </repository>
+ </repositories>
+ </profile>
+ </profiles>
<modules>
<module>bundles/org.eclipse.core.contenttype</module>

Back to the top