Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2015-03-14 09:06:01 +0000
committerAlexander Kurtakov2015-03-14 09:06:01 +0000
commit2015cd98ef5b2c9ff44d19f27b2e4161df8682ce (patch)
treec93ea14710eff5a209183d733a460fe88efa206a /pom.xml
parent5f3ccf02874811271ad4cfe014a12bc8fee3d363 (diff)
downloadeclipse.platform.swt-2015cd98ef5b2c9ff44d19f27b2e4161df8682ce.tar.gz
eclipse.platform.swt-2015cd98ef5b2c9ff44d19f27b2e4161df8682ce.tar.xz
eclipse.platform.swt-2015cd98ef5b2c9ff44d19f27b2e4161df8682ce.zip
Bug 461427 - SWT fragment missing on classpath in build of SWT tests and
tools when moving to tycho 0.23.0-SNAPSHOT Property org.eclipse.swt.buildtime=true needs to be define only in build-individual-bundles as the repo is not buildable if this profile is not enabled anyway. Change-Id: Ic270a1029f16b5c37e8f449a3b5412f69dba2a20 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml37
1 files changed, 21 insertions, 16 deletions
diff --git a/pom.xml b/pom.xml
index 5530040ebe..489ba839b5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -41,22 +41,27 @@
</repository>
</repositories>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>target-platform-configuration</artifactId>
- <version>${tycho.version}</version>
- <configuration>
- <dependency-resolution>
- <profileProperties>
- <org.eclipse.swt.buildtime>true</org.eclipse.swt.buildtime>
- </profileProperties>
- </dependency-resolution>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>build-individual-bundles</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <version>${tycho.version}</version>
+ <configuration>
+ <dependency-resolution>
+ <profileProperties>
+ <org.eclipse.swt.buildtime>true</org.eclipse.swt.buildtime>
+ </profileProperties>
+ </dependency-resolution>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
<modules>
<module>bundles/org.eclipse.swt</module>

Back to the top