From 8bee54395a94d9cae0fa3b07a4dd9a4c15ccba31 Mon Sep 17 00:00:00 2001 From: Dawid Wysakowicz Date: Sun, 23 Jul 2017 14:12:46 +0200 Subject: [PATCH] [FLINK-7202] Split supressions for flink-core, flink-java, flink-optimizer per package This closes #4384. --- flink-core/pom.xml | 6 +- flink-java/pom.xml | 4 +- flink-optimizer/pom.xml | 2 +- .../src/test/resources/log4j-test.properties | 2 +- tools/maven/suppressions-core.xml | 134 +++++++++++++++++- tools/maven/suppressions-java.xml | 62 +++++++- tools/maven/suppressions-optimizer.xml | 78 +++++++++- 7 files changed, 278 insertions(+), 10 deletions(-) diff --git a/flink-core/pom.xml b/flink-core/pom.xml index 7239d33a4f6..6a7e78d0d14 100644 --- a/flink-core/pom.xml +++ b/flink-core/pom.xml @@ -182,7 +182,7 @@ under the License. /tools/maven/checkstyle.xml /tools/maven/suppressions-core.xml - false + true true true @@ -198,7 +198,7 @@ under the License. org.apache.flink.api.common.ExecutionConfig#CONFIG_KEY org.apache.flink.core.fs.FileSystem\$FSKey org.apache.flink.api.java.typeutils.WritableTypeInfo - org.apache.flink.configuration.ConfigConstants#DEFAULT_JOB_MANAGER_MAX_ATTEMPTS_HISTORY_SIZE org.apache.flink.configuration.ConfigConstants#DEFAULT_NETWORK_REQUEST_BACKOFF_INITIAL @@ -225,7 +225,7 @@ under the License. - + diff --git a/flink-java/pom.xml b/flink-java/pom.xml index 75de0bc1582..9d69ca851ec 100644 --- a/flink-java/pom.xml +++ b/flink-java/pom.xml @@ -40,7 +40,7 @@ under the License. flink-core ${project.version} - + org.apache.flink flink-shaded-hadoop2 @@ -109,7 +109,7 @@ under the License. /tools/maven/checkstyle.xml /tools/maven/suppressions-java.xml - false + true true true diff --git a/flink-optimizer/pom.xml b/flink-optimizer/pom.xml index 25c39c0e561..b94e11e7f8a 100644 --- a/flink-optimizer/pom.xml +++ b/flink-optimizer/pom.xml @@ -99,7 +99,7 @@ under the License. /tools/maven/checkstyle.xml /tools/maven/suppressions-optimizer.xml - false + true true true diff --git a/flink-optimizer/src/test/resources/log4j-test.properties b/flink-optimizer/src/test/resources/log4j-test.properties index 85897b37b49..5100c1ff526 100644 --- a/flink-optimizer/src/test/resources/log4j-test.properties +++ b/flink-optimizer/src/test/resources/log4j-test.properties @@ -27,4 +27,4 @@ log4j.appender.testlogger.layout=org.apache.log4j.PatternLayout log4j.appender.testlogger.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n # suppress the irrelevant (wrong) warnings from the netty channel handler -log4j.logger.org.jboss.netty.channel.DefaultChannelPipeline=ERROR, testlogger \ No newline at end of file +log4j.logger.org.jboss.netty.channel.DefaultChannelPipeline=ERROR, testlogger diff --git a/tools/maven/suppressions-core.xml b/tools/maven/suppressions-core.xml index d1b42bba089..d0d838a8faa 100644 --- a/tools/maven/suppressions-core.xml +++ b/tools/maven/suppressions-core.xml @@ -24,6 +24,138 @@ under the License. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/maven/suppressions-java.xml b/tools/maven/suppressions-java.xml index d1b42bba089..3b7d60ba697 100644 --- a/tools/maven/suppressions-java.xml +++ b/tools/maven/suppressions-java.xml @@ -24,6 +24,66 @@ under the License. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/maven/suppressions-optimizer.xml b/tools/maven/suppressions-optimizer.xml index d1b42bba089..cb58b9031f5 100644 --- a/tools/maven/suppressions-optimizer.xml +++ b/tools/maven/suppressions-optimizer.xml @@ -24,6 +24,82 @@ under the License. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +