summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThanh Ha2012-08-31 13:25:56 (EDT)
committer Paul Webster2012-09-12 11:50:25 (EDT)
commit909b88ed5c64daf336978fdfc6282fdecdf8cded (patch)
treec62cc6f7e7b6cdd26e00c6751cc6474112d0fa5e
parent54e9f55b50d6ec5bbc96f86f6db2b705ecef50b2 (diff)
downloadeclipse.platform.runtime-909b88ed5c64daf336978fdfc6282fdecdf8cded.zip
eclipse.platform.runtime-909b88ed5c64daf336978fdfc6282fdecdf8cded.tar.gz
eclipse.platform.runtime-909b88ed5c64daf336978fdfc6282fdecdf8cded.tar.bz2
Bug 386646 #28 - Build only bundles required for platform versionv20120912-155025
-rw-r--r--bundles/org.eclipse.core.runtime/pom.xml14
-rw-r--r--pom.xml45
2 files changed, 50 insertions, 9 deletions
diff --git a/bundles/org.eclipse.core.runtime/pom.xml b/bundles/org.eclipse.core.runtime/pom.xml
index c64d484..14f8124 100644
--- a/bundles/org.eclipse.core.runtime/pom.xml
+++ b/bundles/org.eclipse.core.runtime/pom.xml
@@ -23,4 +23,18 @@
<artifactId>org.eclipse.core.runtime</artifactId>
<version>3.8.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <configuration>
+ <dependency-resolution>
+ <optionalDependencies>ignore</optionalDependencies>
+ </dependency-resolution>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/pom.xml b/pom.xml
index 85e8b01..3bd3164 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,28 +28,55 @@
<packaging>pom</packaging>
<modules>
- <module>bundles/org.eclipse.core.boot</module>
<module>bundles/org.eclipse.core.contenttype</module>
<module>bundles/org.eclipse.core.expressions</module>
<module>bundles/org.eclipse.core.jobs</module>
<module>bundles/org.eclipse.core.runtime</module>
<module>bundles/org.eclipse.core.runtime.compatibility</module>
- <module>bundles/org.eclipse.core.runtime.compatibility.auth</module>
<module>bundles/org.eclipse.core.runtime.compatibility.registry</module>
<module>bundles/org.eclipse.core.tools</module>
- <module>bundles/org.eclipse.e4.core.contexts</module>
- <module>bundles/org.eclipse.e4.core.di</module>
- <module>bundles/org.eclipse.e4.core.di.extensions</module>
- <module>bundles/org.eclipse.e4.core.services</module>
<module>features/org.eclipse.core.runtime.feature</module>
<module>features/org.eclipse.core.tools-feature</module>
- <module>tests/com.google.code.atinject.tck</module>
<module>tests/org.eclipse.core.expressions.tests</module>
<module>tests/org.eclipse.core.tests.harness</module>
<module>tests/org.eclipse.core.tests.runtime</module>
- <module>tests/org.eclipse.e4.core.tests</module>
- <module>tests/org.eclipse.e4.core.tests.services</module>
</modules>
+
+ <profiles>
+ <profile>
+ <id>platform-3.8</id>
+ <activation>
+ <file>
+ <exists>../platform-3.8</exists>
+ </file>
+ </activation>
+
+ <modules>
+ <module>bundles/org.eclipse.core.boot</module>
+ <module>bundles/org.eclipse.core.runtime.compatibility.auth</module>
+ </modules>
+ </profile>
+
+ <profile>
+ <id>platform-4.2</id>
+ <activation>
+ <file>
+ <exists>../platform-4.2</exists>
+ </file>
+ </activation>
+
+ <modules>
+ <module>bundles/org.eclipse.e4.core.contexts</module>
+ <module>bundles/org.eclipse.e4.core.di</module>
+ <module>bundles/org.eclipse.e4.core.di.extensions</module>
+ <module>bundles/org.eclipse.e4.core.services</module>
+
+ <module>tests/com.google.code.atinject.tck</module>
+ <module>tests/org.eclipse.e4.core.tests</module>
+ <module>tests/org.eclipse.e4.core.tests.services</module>
+ </modules>
+ </profile>
+ </profiles>
</project>