Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Oberlies2015-03-09 17:23:39 +0000
committerAlexander Kurtakov2015-03-16 12:29:27 +0000
commitf80da13bc43b4b5c9267a50f3864b2511c02a7f4 (patch)
tree4be4af310fc5d868e510fd412641a536b92552ac /local-build/local-build-parent
parenta84c4f3464a5f713e18d5891323717c2051b011d (diff)
downloadeclipse.platform.swt-f80da13bc43b4b5c9267a50f3864b2511c02a7f4.tar.gz
eclipse.platform.swt-f80da13bc43b4b5c9267a50f3864b2511c02a7f4.tar.xz
eclipse.platform.swt-f80da13bc43b4b5c9267a50f3864b2511c02a7f4.zip
461427 Add build-time dependency to arbitrary SWT fragment version
- When building the org.eclipse.swt project without having org.eclipse.swt.binaries in the reactor, there are no SWT fragments which exactly match the version of the SWT host bundle. Therefore, we need a different way to pull in the fragments. With this change, this is done via a (build time only) bundle with has a p2.inf similar to org.eclipse.swt, but without the strict version ranges. Bug: 461427 Change-Id: I15db9620e0011b4e232ff5adb52504830c7b1662 Signed-off-by: Tobias Oberlies <tobias.oberlies@sap.com> Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'local-build/local-build-parent')
-rw-r--r--local-build/local-build-parent/pom.xml48
1 files changed, 48 insertions, 0 deletions
diff --git a/local-build/local-build-parent/pom.xml b/local-build/local-build-parent/pom.xml
new file mode 100644
index 0000000000..ed5da5cd5f
--- /dev/null
+++ b/local-build/local-build-parent/pom.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2015 Red Hat Inc. 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
+ http://www.eclipse.org/org/documents/edl-v10.php
+
+ Contributors:
+ Alexander Kurtakov - initial implementation
+-->
+<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>
+ <parent>
+ <artifactId>eclipse.platform.swt</artifactId>
+ <groupId>eclipse.platform.swt</groupId>
+ <version>4.5.0-SNAPSHOT</version>
+ <relativePath>../../</relativePath>
+ </parent>
+ <artifactId>eclipse.platform.swt.localbuild</artifactId>
+ <packaging>pom</packaging>
+
+ <profiles>
+ <profile>
+ <id>build-individual-bundles</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <configuration>
+ <dependency-resolution>
+ <extraRequirements>
+ <requirement>
+ <type>eclipse-plugin</type>
+ <id>org.eclipse.swt.fragments.localbuild</id>
+ <versionRange>0.0.0</versionRange>
+ </requirement>
+ </extraRequirements>
+ </dependency-resolution>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+</project>
+

Back to the top