diff options
author | Alexander Kurtakov | 2017-10-30 16:54:00 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2017-10-30 18:22:20 +0000 |
commit | f00d8aa92da5ce0df5a3fcf2c7651d5c9778f485 (patch) | |
tree | a27c31fe967f5f9be584a56d69b2719b70409ca9 /bundles/org.eclipse.swt/pom.xml | |
parent | f105543ee3f794b2fcf6b144904b5195034f150a (diff) | |
download | eclipse.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/org.eclipse.swt/pom.xml')
-rw-r--r-- | bundles/org.eclipse.swt/pom.xml | 42 |
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> |