Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Arthanareeswaran2015-08-19 15:52:42 +0000
committerJay Arthanareeswaran2015-08-19 15:56:45 +0000
commit6b9858225d67923b049526e9f466d853be4594d9 (patch)
tree05f8c10c5f0de10e3756f7d7bba28ed044946aa1 /pom.xml
parentb5af0f2525426a9f1308e711fb8e4f1a0989a71e (diff)
downloadeclipse.jdt.core-6b9858225d67923b049526e9f466d853be4594d9.tar.gz
eclipse.jdt.core-6b9858225d67923b049526e9f466d853be4594d9.tar.xz
eclipse.jdt.core-6b9858225d67923b049526e9f466d853be4594d9.zip
Bug 471835 - Build succeeds, even when "old" parent pom is referred to
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml36
1 files changed, 23 insertions, 13 deletions
diff --git a/pom.xml b/pom.xml
index cba2c99b05..c753dd97d4 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
@@ -28,18 +28,28 @@
<tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/jdt/eclipse.jdt.core.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>org.eclipse.jdt.annotation</module>

Back to the top