Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2016-10-31 15:23:56 +0000
committerLars Vogel2016-11-02 12:08:37 +0000
commit299ef8cd7945109266f1a0fe16c388608f850e89 (patch)
tree6a306e820363069f7ae20360b1eddab0bee9e23c
parentd22a6f5cb8ba3d64d546d0ca27564619294b6db8 (diff)
downloadeclipse.platform.ui-299ef8cd7945109266f1a0fe16c388608f850e89.tar.gz
eclipse.platform.ui-299ef8cd7945109266f1a0fe16c388608f850e89.tar.xz
eclipse.platform.ui-299ef8cd7945109266f1a0fe16c388608f850e89.zip
Bug 506778 - Enable project specific checks for Platform UI project for
the Gerrit validation build Adding the setup to the profile to use the compiler settings but to avoid issuing warnings Change-Id: I9eb881120e9961bb7e55924f50c3eb2d365364d4 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--pom.xml19
1 files changed, 18 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 470fb0c3154..43ad2fa22d4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@
<properties>
<tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/platform/eclipse.platform.ui.git</tycho.scmUrl>
</properties>
-
+
<!--
To build individual bundles, we specify a repository where to find parent pom,
in case it is not in local maven cache already
@@ -49,6 +49,23 @@
<url>https://repo.eclipse.org/content/repositories/eclipse/</url>
</repository>
</repositories>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-compiler-plugin</artifactId>
+ <version>${tycho.version}</version>
+ <configuration>
+ <!-- Do not use useProjectSettings; it'll always override -nowarn -->
+ <compilerArgs>
+ <arg>-properties</arg>
+ <arg>${project.basedir}/.settings/org.eclipse.jdt.core.prefs</arg>
+ <arg>-nowarn</arg>
+ </compilerArgs>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</profile>
</profiles>

Back to the top