Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2015-08-19 14:48:28 +0000
committerLars Vogel2015-08-19 16:00:38 +0000
commit847ed216d3452582296bafd75812788bfc7e3559 (patch)
treea7ad5b2ba983b1cec618f0b61aa0fd5000c33602
parent4acd3628e5292f1734999e9edd045914ba7794eb (diff)
downloadeclipse.platform.ui.tools-847ed216d3452582296bafd75812788bfc7e3559.tar.gz
eclipse.platform.ui.tools-847ed216d3452582296bafd75812788bfc7e3559.tar.xz
eclipse.platform.ui.tools-847ed216d3452582296bafd75812788bfc7e3559.zip
Bug 471835 - Build succeeds, even when "old" parent pom is referred to
Change-Id: I6be71d80c82588e80027cf9da07679a98fe8eb23 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--pom.xml38
1 files changed, 25 insertions, 13 deletions
diff --git a/pom.xml b/pom.xml
index 6fe78a01..aacb5cc1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,8 @@
http://www.eclipse.org/org/documents/edl-v10.php
Contributors:
- Lars Vogel - initial implementation
+ Lars Vogel <Lars.Vogel@vogella.com> - 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,29 @@
<tycho.scmUrl>scm:git:http://git.eclipse.org/gitroot/e4/org.eclipse.e4.tools</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.e4.tools</module>

Back to the top