Return-Path: Delivered-To: apmail-maven-dev-archive@www.apache.org Received: (qmail 50505 invoked from network); 3 Jun 2010 13:43:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Jun 2010 13:43:42 -0000 Received: (qmail 87195 invoked by uid 500); 3 Jun 2010 13:43:41 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 87139 invoked by uid 500); 3 Jun 2010 13:43:41 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 87131 invoked by uid 99); 3 Jun 2010 13:43:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 13:43:41 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [173.212.192.37] (HELO server.dankulp.com) (173.212.192.37) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 13:43:34 +0000 Received: by server.dankulp.com (Postfix, from userid 5000) id 43B364CE84AE; Thu, 3 Jun 2010 09:43:14 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.2.1-gr2 (2007-05-02) on server.dankulp.com X-Spam-Level: X-Msg-File: /tmp/mailfilter-dev@maven.apache.org.XcI0qDFBve Received: from dilbert.dankulp.com (c-24-91-141-225.hsd1.ma.comcast.net [24.91.141.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.dankulp.com (Postfix) with ESMTPSA id A0AAB4CE831D for ; Thu, 3 Jun 2010 09:43:13 -0400 (EDT) From: Daniel Kulp To: dev@maven.apache.org Subject: Re: svn commit: r950747 - /maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/DefaultCheckstyleExecutor.java Date: Thu, 3 Jun 2010 09:42:26 -0400 User-Agent: KMail/1.13.3 (Linux/2.6.34_dk; KDE/4.4.3; x86_64; ; ) References: <20100602202350.1A4312388978@eris.apache.org> <4C077957.4070808@udo.edu> In-Reply-To: <4C077957.4070808@udo.edu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201006030942.26376.dkulp@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-3.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.1-gr2 I committed a "fix" for this, but it really is a complete hack. The basic issue is that MCHECKSTYLE-131 really is a BAD BAD idea and in my opinion and should not be supported. The basic issue of MCHECKSTYLE-131 is that it allows the plugin to traverse up the parent modules (actually, with 2.4 and olamy's original patch, it would be any module that has already run checkstyle which is really bad as it would depend on the ordering of the builds in the reactor which is really wacked out with parallel mode) and allows grabbing the config files from the "root" of those modules. Basically, grabs files from other modules, but not through installed jars or anything. Just files sitting in their original directory. Anyway, with the hack I added, it will go up parent modules and the dirs for them, but doesn't attempt to do the "modules where checkstyle has already run" thing. Dan On Thursday 03 June 2010 5:43:51 am Benjamin Bentmann wrote: > Hi Dan, > > > Author: dkulp > > Date: Wed Jun 2 20:23:49 2010 > > New Revision: 950747 > > > > URL: http://svn.apache.org/viewvc?rev=950747&view=rev > > Log: > > Since the DefaultCheckstyleExecutor contains an object (ResourceManager) > > that holds onto state and must be per-lookup, the > > DefaultCheckstyleExecutor must also be per-lookup to be thread safe. > > > > Modified: > > maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache > > /maven/plugin/checkstyle/DefaultCheckstyleExecutor.java > > This appears to have broken the integration tests [0], can you > double-check this? > > > Benjamin > > > [0] https://grid.sonatype.org/ci/job/maven-plugins-ITs/454/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > For additional commands, e-mail: dev-help@maven.apache.org -- Daniel Kulp dkulp@apache.org http://dankulp.com/blog --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org