Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2017-10-30 16:54:00 +0000
committerAlexander Kurtakov2017-10-30 18:22:20 +0000
commitf00d8aa92da5ce0df5a3fcf2c7651d5c9778f485 (patch)
treea27c31fe967f5f9be584a56d69b2719b70409ca9 /bundles
parentf105543ee3f794b2fcf6b144904b5195034f150a (diff)
downloadeclipse.platform.swt-f00d8aa92da5ce0df5a3fcf2c7651d5c9778f485.tar.gz
eclipse.platform.swt-f00d8aa92da5ce0df5a3fcf2c7651d5c9778f485.tar.xz
eclipse.platform.swt-f00d8aa92da5ce0df5a3fcf2c7651d5c9778f485.zip
Bug 526624: Check java compilation on all platforms during gerrit build
Add profile to check compile all WS. In order to test locally just pass -DcheckAllWS=true to your mvn call. Change-Id: Ia2435fcf43e57aeca3c337d3cac89afce4f48575 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.swt/pom.xml42
1 files changed, 42 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/pom.xml b/bundles/org.eclipse.swt/pom.xml
index c1cb338c35..758b808a5b 100644
--- a/bundles/org.eclipse.swt/pom.xml
+++ b/bundles/org.eclipse.swt/pom.xml
@@ -47,4 +47,46 @@
</plugin>
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>build-all</id>
+ <activation>
+ <property>
+ <name>checkAllWS</name>
+ <value>true</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>buildAll</id>
+ <phase>process-resources</phase>
+ <configuration>
+ <target>
+ <property name="repo.src" value="../../"/>
+ <ant antfile="buildSWT.xml" target="check_compilation_all_platforms"/>
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>com.sun</groupId>
+ <artifactId>tools</artifactId>
+ <version>0.0.0</version>
+ <scope>system</scope>
+ <systemPath>${toolsjar}</systemPath>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>

Back to the top