Bug 471835 - Build succeeds, even when "old" parent pom is referred to
Change-Id: Ie884b7481af220247c0485bc1b9529574aebb706
Signed-off-by: Markus Keller <markus_keller@ch.ibm.com>
diff --git a/pom.xml b/pom.xml
index 49936a7..b5d8544 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,18 +29,28 @@
<defaultSigning-excludeInnerJars>true</defaultSigning-excludeInnerJars>
</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>org.eclipse.pde.build</module>