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 017DA2009F3 for ; Fri, 20 May 2016 19:37:58 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F4128160A24; Fri, 20 May 2016 17:37:57 +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 1F5011609AE for ; Fri, 20 May 2016 19:37:56 +0200 (CEST) Received: (qmail 21202 invoked by uid 500); 20 May 2016 17:37:56 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 21190 invoked by uid 99); 20 May 2016 17:37:55 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 May 2016 17:37:55 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 72576CB0D8 for ; Fri, 20 May 2016 17:37:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.998 X-Spam-Level: X-Spam-Status: No, score=0.998 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id yR5OGfHcxM3k for ; Fri, 20 May 2016 17:37:53 +0000 (UTC) Received: from mail-io0-f173.google.com (mail-io0-f173.google.com [209.85.223.173]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 7FB945FAFF for ; Fri, 20 May 2016 17:37:52 +0000 (UTC) Received: by mail-io0-f173.google.com with SMTP id t40so61838459ioi.0 for ; Fri, 20 May 2016 10:37:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=OHSkxSPfFoU1cE89qf8WWiFXwtNSea0855RxD4LliAQ=; b=Tv0Q4e5/5sGo4++ykXw1XNCOFaKvGnq3MkHV18SG9Daqf+ACRAveIRTS4upmC8pW3/ LGlFaiCQ3t26/Og21wHFn9mn4lYrLJxnI12logpWa11a5bYMXMC559vd7RVSFdwSqR/L IO0GIllOCZv9KctmVLxqX77rNOcS48+INCvs3mK6/QJfOLCTgz65FAbiflMcBlgmo1BZ I3my00fmBBAvNN4V870wm3f4krsxKr2F5sRlWz9F/keGHbqNddxf8X5aFGSMICLoUE0P 1zP8Sp1Tkv8jljkDFPW/cSu0sV38OHl6jE8pWhBTM5G8slbfxcSJ0kM9SbSG1QKHcV2r owkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=OHSkxSPfFoU1cE89qf8WWiFXwtNSea0855RxD4LliAQ=; b=AIPIE8VDUM8Q9Oal8Pv5FzbdJsTeRZzme1OUDBeHJLvRyq+eXSNr/b6awloB2JX12X 9kFKMsQWok99yxoe4RgP55zp/JRe3zolXfwV+6jaP/oTAz0BI+VwsOmR+6iOg3Hc7GGR yPA9srU0qsfLW67mrPaDSCMS+P2voVEQJ7K3TlHXcgiqahk4yw0iLoiGCvnSk+TkJnyh v92LgniPjYYYcpOB5nRmALbUW6gFKwMSyWJVi2WGqby9yzTRMBFLKv6jdgfXvxU5ULDo 7GSIDSpFukESRLJlBxbUwisKkGu2XP3gZ0C58WbOZrpD7iS3M5gqupwBuXI2xmB5AjuZ Oq3g== X-Gm-Message-State: AOPr4FWia5zoiykQv+TrIqWSTna4CVAtotj+429we21yeE6dEbNsstsmk7nJZv0ZnpVIR1Y9l/WrAKZ+GczEmg== MIME-Version: 1.0 X-Received: by 10.36.61.202 with SMTP id n193mr4230088itn.92.1463765871414; Fri, 20 May 2016 10:37:51 -0700 (PDT) Received: by 10.107.148.79 with HTTP; Fri, 20 May 2016 10:37:51 -0700 (PDT) In-Reply-To: References: <20160520130815.D61E43A0056@svn01-us-west.apache.org> Date: Fri, 20 May 2016 18:37:51 +0100 Message-ID: Subject: Re: svn commit: r1744731 - /commons/proper/codec/trunk/pom.xml From: sebb To: Commons Developers List Content-Type: text/plain; charset=UTF-8 archived-at: Fri, 20 May 2016 17:37:58 -0000 On 20 May 2016 at 18:26, Gary Gregory wrote: > On Fri, May 20, 2016 at 10:22 AM, sebb wrote: > >> On 20 May 2016 at 18:09, Gary Gregory wrote: >> > I've seen some projects that run checkstyle early in the build and causes >> > the build to fail if there are violations. >> > >> > That seems like a nice way to avoid piling up violations over time, and >> > then spending time fixing them which is boring. >> > >> > I think we should do that. >> > >> > Thoughts? >> >> It's can increase the build time when doing iterative testing, so I >> don't think it should be compulsory. >> > > How much time does it add? 1 second? I usually run tests from Eclipse as I > develop, and from the Maven CLI before I commit. It's not all that long, but it's still a pain to have to fix all the checkstyle issues as they are created. Besides, it won't help if the dev does not run Maven before committing. For some simple changes it's tempting not to bother runninng all the tests. Whereas adding it to the CI build catches such omissions. > Gary > > >> >> One way to get the feedback is to add the check to the CI builds. >> >> That has the advantage of reporting even if the committer has not run >> the Maven build recently. >> >> > Gary >> > >> > On Fri, May 20, 2016 at 6:08 AM, wrote: >> > >> >> Author: sebb >> >> Date: Fri May 20 13:08:15 2016 >> >> New Revision: 1744731 >> >> >> >> URL: http://svn.apache.org/viewvc?rev=1744731&view=rev >> >> Log: >> >> Allow checkstyle to be run standalone >> >> >> >> Modified: >> >> commons/proper/codec/trunk/pom.xml >> >> >> >> Modified: commons/proper/codec/trunk/pom.xml >> >> URL: >> >> >> http://svn.apache.org/viewvc/commons/proper/codec/trunk/pom.xml?rev=1744731&r1=1744730&r2=1744731&view=diff >> >> >> >> >> ============================================================================== >> >> --- commons/proper/codec/trunk/pom.xml (original) >> >> +++ commons/proper/codec/trunk/pom.xml Fri May 20 13:08:15 2016 >> >> @@ -235,6 +235,10 @@ limitations under the License. >> >> >> >> >> UTF-8 >> >> UTF-8 >> >> >> >> >> ${basedir}/LICENSE-header.txt >> >> + >> >> + 2.9.1 >> >> >> >> >> >> >> >> @@ -368,6 +372,17 @@ limitations under the License. >> >> gnu >> >> >> >> >> >> + >> >> + >> >> + org.apache.maven.plugins >> >> + maven-checkstyle-plugin >> >> + ${checkstyle.version} >> >> + >> >> + ${basedir}/checkstyle.xml >> >> + false >> >> + ${basedir}/LICENSE-header.txt >> >> + >> >> + >> >> >> >> >> >> >> >> @@ -375,10 +390,7 @@ limitations under the License. >> >> >> >> org.apache.maven.plugins >> >> maven-checkstyle-plugin >> >> - >> >> - 2.9.1 >> >> + ${checkstyle.version} >> >> >> >> ${basedir}/checkstyle.xml >> >> false >> >> >> >> >> >> >> > >> > >> > -- >> > E-Mail: garydgregory@gmail.com | ggregory@apache.org >> > Java Persistence with Hibernate, Second Edition >> > >> > JUnit in Action, Second Edition >> > Spring Batch in Action >> > Blog: http://garygregory.wordpress.com >> > Home: http://garygregory.com/ >> > Tweet! http://twitter.com/GaryGregory >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >> For additional commands, e-mail: dev-help@commons.apache.org >> >> > > > -- > E-Mail: garydgregory@gmail.com | ggregory@apache.org > Java Persistence with Hibernate, Second Edition > > JUnit in Action, Second Edition > Spring Batch in Action > Blog: http://garygregory.wordpress.com > Home: http://garygregory.com/ > Tweet! http://twitter.com/GaryGregory --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org