diff options
author | John Ross | 2013-10-10 20:18:50 +0000 |
---|---|---|
committer | John Ross | 2013-10-23 12:43:40 +0000 |
commit | 20cfc5e6d8e689111864c8a8bc6fc58d70f3f504 (patch) | |
tree | e8c4b5d933f896c9d52efce8526fb7de36fee83c /bundles | |
parent | ad364193ba8b0f63c4e1dde949b8b377b8300d78 (diff) | |
download | rt.equinox.framework-20cfc5e6d8e689111864c8a8bc6fc58d70f3f504.tar.gz rt.equinox.framework-20cfc5e6d8e689111864c8a8bc6fc58d70f3f504.tar.xz rt.equinox.framework-20cfc5e6d8e689111864c8a8bc6fc58d70f3f504.zip |
Bug 418663 - [services] Get rid of compile warnings in official build
Update jdt core prefs to org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=disabled.
Suppress warnings in pom for official build.
Diffstat (limited to 'bundles')
-rw-r--r-- | bundles/org.eclipse.osgi.services/.settings/org.eclipse.jdt.core.prefs | 2 | ||||
-rw-r--r-- | bundles/org.eclipse.osgi.services/pom.xml | 16 |
2 files changed, 16 insertions, 2 deletions
diff --git a/bundles/org.eclipse.osgi.services/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.osgi.services/.settings/org.eclipse.jdt.core.prefs index cf4392786..ee22cd460 100644 --- a/bundles/org.eclipse.osgi.services/.settings/org.eclipse.jdt.core.prefs +++ b/bundles/org.eclipse.osgi.services/.settings/org.eclipse.jdt.core.prefs @@ -89,7 +89,7 @@ org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=warning org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning -org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=disabled org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning diff --git a/bundles/org.eclipse.osgi.services/pom.xml b/bundles/org.eclipse.osgi.services/pom.xml index 8be589aeb..7f6667188 100644 --- a/bundles/org.eclipse.osgi.services/pom.xml +++ b/bundles/org.eclipse.osgi.services/pom.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012 Eclipse Foundation. + Copyright (c) 2012, 2013 Eclipse Foundation. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -21,4 +21,18 @@ <artifactId>org.eclipse.osgi.services</artifactId> <version>3.4.0-SNAPSHOT</version> <packaging>eclipse-plugin</packaging> + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-compiler-plugin</artifactId> + <version>${tycho.version}</version> + <configuration> + <compilerArgs> + <arg>-warn:-raw,unchecked</arg> + </compilerArgs> + </configuration> + </plugin> + </plugins> + </build> </project> |