diff options
author | Markus Keller | 2015-12-15 11:24:22 +0000 |
---|---|---|
committer | Markus Keller | 2015-12-15 11:24:22 +0000 |
commit | 94ed4c3938152c36917a25304ef133bec172dca2 (patch) | |
tree | 372b153012fb49e8aeeb99b62cd278c014d06bf2 /eclipse-platform-parent/pom.xml | |
parent | de4bf9c5eba09cc96250016789032fbad49f4d1b (diff) | |
download | eclipse.platform.releng.aggregator-94ed4c3938152c36917a25304ef133bec172dca2.tar.gz eclipse.platform.releng.aggregator-94ed4c3938152c36917a25304ef133bec172dca2.tar.xz eclipse.platform.releng.aggregator-94ed4c3938152c36917a25304ef133bec172dca2.zip |
Reverted bug 483395 for I-build: Don't ignore unavoidableGenericProblems in production code by default
added code.ignoredWarningsUnavoidable property
Diffstat (limited to 'eclipse-platform-parent/pom.xml')
-rw-r--r-- | eclipse-platform-parent/pom.xml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/eclipse-platform-parent/pom.xml b/eclipse-platform-parent/pom.xml index 1e1a790f3..92824791d 100644 --- a/eclipse-platform-parent/pom.xml +++ b/eclipse-platform-parent/pom.xml @@ -120,12 +120,20 @@ by ${code.ignoredWarnings} (see further down). Good citizens don't override those default settings for their production bundles. --> - <code.ignoredWarnings>-warn:-deprecation</code.ignoredWarnings> + <code.ignoredWarnings>-warn:-deprecation,unavoidableGenericProblems</code.ignoredWarnings> + + <!-- + Production bundles that need to suppress unavoidableGenericProblems can set this at the top of their pom.xml: + <properties> + <code.ignoredWarnings>${code.ignoredWarningsUnavoidable}</code.ignoredWarnings> + </properties> + --> + <code.ignoredWarningsUnavoidable>-warn:-deprecation,unavoidableGenericProblems</code.ignoredWarningsUnavoidable> <!-- - Test bundles may override the list of ignored warnings by setting the <code.ignoredWarnings> property to ${tests.ignoredWarnings}: + Test bundles may override the list of ignored warnings by setting this at the top of their pom.xml: <properties> - <code.ignoredWarnings>${tests.ignoredWarnings}</code.ignoredWarnings> + <code.ignoredWarnings>${tests.ignoredWarnings}</code.ignoredWarnings> </properties> Good citizens use those default settings for their test bundles. --> |