Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 15969 invoked from network); 6 Jan 2008 17:16:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jan 2008 17:16:00 -0000 Received: (qmail 48103 invoked by uid 500); 6 Jan 2008 17:15:41 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 48054 invoked by uid 500); 6 Jan 2008 17:15:41 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 48043 invoked by uid 99); 6 Jan 2008 17:15:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jan 2008 09:15:41 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of wsmoak@gmail.com designates 209.85.132.242 as permitted sender) Received: from [209.85.132.242] (HELO an-out-0708.google.com) (209.85.132.242) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jan 2008 17:15:18 +0000 Received: by an-out-0708.google.com with SMTP id d30so1405585and.79 for ; Sun, 06 Jan 2008 09:15:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=mkwjKRzrxdYUWs1OjhCSRPRiKHs/x6U020WJ1tSf08U=; b=JQ8NBRGsa6386pAG7wIzbzK9CNpqp1XdaIwZ6O7vWY4t5KXEr8+Rwtk+j2Ax/V8b8C6jWXvpdSnpWpnNGQ3NJJ7LKY+F4Vy5Peo7YH5Ghcoct/alYaxDiyRtjQNoNYdqaSLgHsZ4K2QmMJIEE2wWC0AWS7ZJiylhJbFE9QReP5g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bqqGe4qp3AwkX1YBqMm4myNWMx7/snDRb+CMM+SaTCupyibma14mvTECZGCFWAgpGUjcc5GZVVGggODh9ak87oaNLHWAjwFyhj8Y/GKO+Lz65NJAAEW8y+SIRksunt5FtAMK8x1c5cD5UCSpuQebEwmeTHiaHfEVDt7LSbqN1TY= Received: by 10.100.107.7 with SMTP id f7mr2434693anc.35.1199639723026; Sun, 06 Jan 2008 09:15:23 -0800 (PST) Received: by 10.100.4.13 with HTTP; Sun, 6 Jan 2008 09:15:23 -0800 (PST) Message-ID: Date: Sun, 6 Jan 2008 10:15:23 -0700 From: "Wendy Smoak" To: "Maven Users List" Subject: Re: [m2] PMD plugin and custom rulesets In-Reply-To: <002901c85086$7bf2ab40$73d801c0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <002901c85086$7bf2ab40$73d801c0$@com> X-Virus-Checked: Checked by ClamAV on apache.org On Jan 6, 2008 10:06 AM, Jeff Jensen wrote: > I have a jar for custom PMD rules; it has Java classes and the XML rulesets. > The rulesets are in a top-level "/rulesets" dir. > > I have the jar as a POM dependency: > > pmd > pmdcustomrules > 1.2 > Try putting the dependency inside the pmd element instead of listing it as a project dependency (which it isn't.) -- Wendy http://maven.apache.org/ref/2.0.8/maven-model/maven.html --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org