Bug 471835 - Build succeeds, even when "old" parent pom is referred to
Change-Id: I3e9b35a76d28394d74482c18379fc66bb0b140f8
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
diff --git a/pom.xml b/pom.xml
index f1c42ba..cb1ddd6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,18 +28,28 @@
<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>