diff options
author | Alexander Kurtakov | 2018-05-30 11:10:54 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2018-05-30 11:11:08 +0000 |
commit | be993aad6aacf83e22132e03eb9ca41a577d240e (patch) | |
tree | 1b379a0a378e75a8d8b76cc494cbe1d508c8dfe6 /pom.xml | |
parent | dd4d2725f12894cd21f4bbf80a185786dbff7e42 (diff) | |
download | rt.equinox.p2-be993aad6aacf83e22132e03eb9ca41a577d240e.tar.gz rt.equinox.p2-be993aad6aacf83e22132e03eb9ca41a577d240e.tar.xz rt.equinox.p2-be993aad6aacf83e22132e03eb9ca41a577d240e.zip |
Bug 535327 - Streamline maven poms hierachyI20180531-2125I20180531-2000I20180531-1245I20180531-0910
Needed so tycho-versions:set-versions works properly.
Not all modules handled properly but majority are which is good enough
for me now.
Change-Id: I62d65744ed65d083f3755aab86b925fa780092b5
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 92 |
1 files changed, 89 insertions, 3 deletions
@@ -15,15 +15,101 @@ <parent> <groupId>org.eclipse</groupId> <artifactId>eclipse-platform-parent</artifactId> - <version>4.8.0-SNAPSHOT</version> + <version>4.9.0-SNAPSHOT</version> <relativePath>../eclipse-platform-parent</relativePath> </parent> - <groupId>org.eclipse.platform</groupId> + <groupId>org.eclipse.equinox.p2</groupId> <artifactId>rt.equinox.p2</artifactId> - <version>4.8.0-SNAPSHOT</version> + <version>4.9.0-SNAPSHOT</version> <packaging>pom</packaging> + <properties> + <tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/equinox/rt.equinox.p2.git</tycho.scmUrl> + </properties> + + <!-- + 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> + + <profile> + <id>osx</id> + <activation> + <property> + <name>java.vendor.url</name> + <value>http://www.apple.com/</value> + </property> + </activation> + <properties> + <tycho.test.jvmArgs>-Xmx800m -XX:MaxPermSize=256m -Dosgi.ws=cocoa -XstartOnFirstThread</tycho.test.jvmArgs> + <osgi.ws>cocoa</osgi.ws> + </properties> + </profile> + </profiles> + + <build> + <pluginManagement> + <plugins> + <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> + <plugin> + <groupId>org.eclipse.m2e</groupId> + <artifactId>lifecycle-mapping</artifactId> + <version>1.0.0</version> + <configuration> + <lifecycleMappingMetadata> + <pluginExecutions> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.eclipse.cbi.maven.plugins</groupId> + <artifactId>eclipse-cbi-plugin</artifactId> + <versionRange>[0.0.0,)</versionRange> + <goals> + <goal>generate-api-build-xml</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore></ignore> + </action> + </pluginExecution> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.eclipse.tycho.extras</groupId> + <artifactId>tycho-eclipserun-plugin</artifactId> + <versionRange>[0.0.0,)</versionRange> + <goals> + <goal>eclipse-run</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore></ignore> + </action> + </pluginExecution> + </pluginExecutions> + </lifecycleMappingMetadata> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + <modules> <module>bundles/ie.wombat.jbdiff</module> <module>bundles/ie.wombat.jbdiff.test</module> |