Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Williams2013-08-26 02:57:16 +0000
committerDavid Williams2013-08-26 02:57:16 +0000
commit44cf9720d01a190d464e9d3de45b6d2c306bb570 (patch)
tree8053b2e64f8637a6a12497a082ca13f4e76a8509 /eclipse-platform-parent/pom.xml
parent64faa7779c8c3636c22305e78d5c3bacda373cc6 (diff)
downloadeclipse.platform.releng.aggregator-44cf9720d01a190d464e9d3de45b6d2c306bb570.tar.gz
eclipse.platform.releng.aggregator-44cf9720d01a190d464e9d3de45b6d2c306bb570.tar.xz
eclipse.platform.releng.aggregator-44cf9720d01a190d464e9d3de45b6d2c306bb570.zip
Bug 401776 - [CBI] too many compile warnings
initial proposed values for variables
Diffstat (limited to 'eclipse-platform-parent/pom.xml')
-rw-r--r--eclipse-platform-parent/pom.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/eclipse-platform-parent/pom.xml b/eclipse-platform-parent/pom.xml
index f6dba4997..cab4899fc 100644
--- a/eclipse-platform-parent/pom.xml
+++ b/eclipse-platform-parent/pom.xml
@@ -45,6 +45,17 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<cbi-jdt-repo.url>https://repo.eclipse.org/content/repositories/eclipse-staging/</cbi-jdt-repo.url>
<cbi-jdt-version>3.10.0.v20130801-1514</cbi-jdt-version>
+ <!--
+ Normal bundles produced for production deliverables can use
+ <compilerArgument>${code-compilerArgs}</compilerArgument>
+ Bundles that contain only unit tests can use ${test-compilerArgs}.
+ <compilerArgument>${test-compilerArgs}</compilerArgument>
+ Naturally, any individual bundle or repo can use what ever they'd like,
+ but these are the "standard" Eclipse project settings.
+ -->
+ <code-compilerArgs>-warn:-deprecation,raw,unchecked</code-compilerArgs>
+ <test-compilerArgs>-warn:-deprecation,raw,unchecked,-discouraged,forbidden,warningToken</test-compilerArgs>
+
<eclipse-repo.url>https://repo.eclipse.org/content/repositories/releases/</eclipse-repo.url>
<cbi-snapshots-repo.url>https://repo.eclipse.org/content/repositories/cbi-snapshots/</cbi-snapshots-repo.url>
<!-- this eclipse-p2-repo.url is specifically for the build individual bundles profile. -->
@@ -299,7 +310,7 @@
</dependency>
</dependencies>
<configuration>
- <compilerArgument>-warn:-deprecation,raw,unchecked</compilerArgument>
+ <compilerArgument>${code-compilerArgs}</compilerArgument>
<compilerArguments>
<verbose/>
<inlineJSR/>

Back to the top