Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B2A1F200C4E for ; Thu, 6 Apr 2017 11:33:26 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B16A4160BB2; Thu, 6 Apr 2017 09:33:26 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0DCDA160BAA for ; Thu, 6 Apr 2017 11:33:25 +0200 (CEST) Received: (qmail 21877 invoked by uid 500); 6 Apr 2017 09:33:24 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 20913 invoked by uid 99); 6 Apr 2017 09:33:24 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Apr 2017 09:33:24 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 88D9EE9813; Thu, 6 Apr 2017 09:33:22 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aonishuk@apache.org To: commits@ambari.apache.org Date: Thu, 06 Apr 2017 09:33:35 -0000 Message-Id: <12fc1f7ce5e74e7caabca615e338c90e@git.apache.org> In-Reply-To: <8c0ccd0078eb44fcb340de06743efa01@git.apache.org> References: <8c0ccd0078eb44fcb340de06743efa01@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [14/41] ambari git commit: AMBARI-20625. Hadoop QA javac warnings increase check is broken -- fix for ambari-server archived-at: Thu, 06 Apr 2017 09:33:26 -0000 AMBARI-20625. Hadoop QA javac warnings increase check is broken -- fix for ambari-server Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/50a41a84 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/50a41a84 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/50a41a84 Branch: refs/heads/branch-3.0-perf Commit: 50a41a8426686d7a904fb15926c5a4b95d335c17 Parents: 1352fa9 Author: Attila Doroszlai Authored: Thu Mar 30 15:24:55 2017 +0200 Committer: Andrew Onishuk Committed: Thu Apr 6 12:32:56 2017 +0300 ---------------------------------------------------------------------- dev-support/test-patch.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/50a41a84/dev-support/test-patch.sh ---------------------------------------------------------------------- diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 294c840..9b6d83e 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -261,8 +261,8 @@ prebuildWithoutPatch () { echo "" echo "" echo "Compiling $(pwd)" - echo "$MVN clean test -DskipTests -D${PROJECT_NAME}PatchProcess > $PATCH_DIR/trunkJavacWarnings.txt 2>&1" - $MVN clean test -DskipTests -D${PROJECT_NAME}PatchProcess > $PATCH_DIR/trunkJavacWarnings.txt 2>&1 + echo "$MVN clean test -DskipTests -Dxlint=all -D${PROJECT_NAME}PatchProcess > $PATCH_DIR/trunkJavacWarnings.txt 2>&1" + $MVN clean test -DskipTests -Dxlint=all -D${PROJECT_NAME}PatchProcess > $PATCH_DIR/trunkJavacWarnings.txt 2>&1 if [[ $? != 0 ]] ; then echo "Top-level trunk compilation is broken?" JIRA_COMMENT="$JIRA_COMMENT @@ -385,8 +385,8 @@ checkJavacWarnings () { echo "======================================================================" echo "" echo "" - echo "$MVN clean test -DskipTests -D${PROJECT_NAME}PatchProcess > $PATCH_DIR/patchJavacWarnings.txt 2>&1" - $MVN clean test -DskipTests -D${PROJECT_NAME}PatchProcess > $PATCH_DIR/patchJavacWarnings.txt 2>&1 + echo "$MVN clean test -DskipTests -Dxlint=all -D${PROJECT_NAME}PatchProcess > $PATCH_DIR/patchJavacWarnings.txt 2>&1" + $MVN clean test -DskipTests -Dxlint=all -D${PROJECT_NAME}PatchProcess > $PATCH_DIR/patchJavacWarnings.txt 2>&1 if [[ $? != 0 ]] ; then JIRA_COMMENT="$JIRA_COMMENT