Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5516011737 for ; Thu, 10 Jul 2014 21:04:09 +0000 (UTC) Received: (qmail 46886 invoked by uid 500); 10 Jul 2014 21:04:09 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 46860 invoked by uid 500); 10 Jul 2014 21:04:09 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 46846 invoked by uid 99); 10 Jul 2014 21:04:08 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2014 21:04:08 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id C068F1DB663; Thu, 10 Jul 2014 21:03:56 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============7809019182392279600==" MIME-Version: 1.0 Subject: Re: Review Request 23391: ACCUMULO-2986 ease use of rat plugin. From: "Sean Busbey" To: "Mike Drob" , "Sean Busbey" , "accumulo" , "Bill Havanki" Date: Thu, 10 Jul 2014 21:03:56 -0000 Message-ID: <20140710210356.17972.97428@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Sean Busbey" X-ReviewGroup: accumulo X-ReviewRequest-URL: https://reviews.apache.org/r/23391/ X-Sender: "Sean Busbey" References: <20140710122801.17970.23096@reviews.apache.org> In-Reply-To: <20140710122801.17970.23096@reviews.apache.org> Reply-To: "Sean Busbey" X-ReviewRequest-Repository: accumulo --===============7809019182392279600== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit > On July 10, 2014, 12:28 p.m., Mike Drob wrote: > > pom.xml, lines 1040-1064 > > > > > > It is unclear to me when this profile is activated. Nominally, I see that it would be if the rat.skip property is not set, but does the user have any way to unset it, given that it is declared earlier in the file? > > Sean Busbey wrote: > it's activated when the user doesn't say anything one way or another. having rat.skip defined in the pom properties is for clarity, it can't activate a profile. > > Bill Havanki wrote: > Does it need to be there to make the true/false property check pass when the user doesn't specify it? (Can the check say it's an optional property?) If it doesn't do anything useful, I'd replace it with a comment. > > Sean Busbey wrote: > You're right Bill, it does need to be present because of hte enforcer check. I'll see if there's an enforcer "optional property" Enforcer has no notion of a property that must have certain values, but only if it's set at all. - Sean ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/23391/#review47561 ----------------------------------------------------------- On July 10, 2014, 8:34 a.m., Sean Busbey wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/23391/ > ----------------------------------------------------------- > > (Updated July 10, 2014, 8:34 a.m.) > > > Review request for accumulo. > > > Bugs: ACCUMULO-2986 > https://issues.apache.org/jira/browse/ACCUMULO-2986 > > > Repository: accumulo > > > Description > ------- > > * puts rat plugin into profile > * activates profile by default > * ignores rat errrors by default > > > Diffs > ----- > > pom.xml 2bc87cf082dfeb7bfe1a3fac1fe4fba1eaa87edd > > Diff: https://reviews.apache.org/r/23391/diff/ > > > Testing > ------- > > verified rat warnings and failures given move from master -> 1.6.1-SNAPSHOT branch with no definitions, -Drat.skip=true, -Drat.skip=false, -Drat.ignoreErrors=true, and profile to check errors in ~/.m2/settings.xml > > > Thanks, > > Sean Busbey > > --===============7809019182392279600==--