diff options
| author | Lars Vogel | 2016-10-31 15:23:56 +0000 |
|---|---|---|
| committer | Lars Vogel | 2016-11-02 12:08:37 +0000 |
| commit | 299ef8cd7945109266f1a0fe16c388608f850e89 (patch) | |
| tree | 6a306e820363069f7ae20360b1eddab0bee9e23c | |
| parent | d22a6f5cb8ba3d64d546d0ca27564619294b6db8 (diff) | |
| download | eclipse.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.xml | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -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> |
