diff options
| author | Lars Vogel | 2015-08-19 14:48:28 +0000 |
|---|---|---|
| committer | Lars Vogel | 2015-08-19 16:00:38 +0000 |
| commit | 847ed216d3452582296bafd75812788bfc7e3559 (patch) | |
| tree | a7ad5b2ba983b1cec618f0b61aa0fd5000c33602 | |
| parent | 4acd3628e5292f1734999e9edd045914ba7794eb (diff) | |
| download | eclipse.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.xml | 38 |
1 files changed, 25 insertions, 13 deletions
@@ -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> |
