From 62dc5d39d97c3697937308a4f3a6f9361e6229e6 Mon Sep 17 00:00:00 2001 From: Konstantine Karantasis Date: Thu, 12 Mar 2020 11:42:48 -0700 Subject: [PATCH] build: disable -Werror compiler argument in tests (#4759) --- ksql-engine/pom.xml | 33 ++++++++++++++++++++++++++++ ksql-version-metrics-client/pom.xml | 33 +++++++++++++++++++++++----- pom.xml | 34 ++++++++++++++++++++++++----- 3 files changed, 88 insertions(+), 12 deletions(-) diff --git a/ksql-engine/pom.xml b/ksql-engine/pom.xml index 59f53622d9b6..3685ebae46af 100644 --- a/ksql-engine/pom.xml +++ b/ksql-engine/pom.xml @@ -140,6 +140,39 @@ + + org.apache.maven.plugins + maven-compiler-plugin + + + compile + process-sources + + compile + + + + -Xlint:all,-options,-path + -parameters + -Werror + + + + + test-compile + process-test-sources + + testCompile + + + + -Xlint:all,-options,-path + -parameters + + + + + org.antlr antlr4-maven-plugin diff --git a/ksql-version-metrics-client/pom.xml b/ksql-version-metrics-client/pom.xml index d696bd39a7b5..ba82bcaf26a0 100644 --- a/ksql-version-metrics-client/pom.xml +++ b/ksql-version-metrics-client/pom.xml @@ -94,12 +94,33 @@ org.apache.maven.plugins maven-compiler-plugin - - - -Xlint:all,-options,-path,-unchecked - -Werror - - + + + compile + process-sources + + compile + + + + -Xlint:all,-options,-path,-unchecked + -Werror + + + + + test-compile + process-test-sources + + testCompile + + + + -Xlint:all,-options,-path,-unchecked + + + + diff --git a/pom.xml b/pom.xml index d7cd1628ea49..22c6d028b5b2 100644 --- a/pom.xml +++ b/pom.xml @@ -317,12 +317,34 @@ org.apache.maven.plugins maven-compiler-plugin - - - -Xlint:all,-options,-path - -Werror - - + + + compile + process-sources + + compile + + + + -Xlint:all,-options,-path + -parameters + -Werror + + + + + test-compile + process-test-sources + + compile + + + + -Xlint:all,-options,-path + + + +