Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 26840 invoked from network); 26 Apr 2007 23:03:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Apr 2007 23:03:06 -0000 Received: (qmail 41978 invoked by uid 500); 26 Apr 2007 23:03:05 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 41919 invoked by uid 500); 26 Apr 2007 23:03:04 -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 41903 invoked by uid 99); 26 Apr 2007 23:03:04 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 16:03:04 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of woodj@ucalgary.ca designates 136.159.34.64 as permitted sender) Received: from [136.159.34.64] (HELO smtp3.ucalgary.ca) (136.159.34.64) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 16:02:57 -0700 Received: from [136.159.110.209] (pc209-110.commons.ucalgary.ca [136.159.110.209]) by smtp3.ucalgary.ca (Postfix) with ESMTP id DC50B4051 for ; Thu, 26 Apr 2007 17:02:35 -0600 (MDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <0FAC31B5-807B-40FF-9C90-50961E9DA549@ucalgary.ca> References: <0FAC31B5-807B-40FF-9C90-50961E9DA549@ucalgary.ca> Content-Type: multipart/alternative; boundary=Apple-Mail-13--394624324 Message-Id: From: Julian Wood Subject: Re: antlib - fails to grab snapshot dependencies? Date: Thu, 26 Apr 2007 17:02:34 -0600 To: "Maven Users List" X-Mailer: Apple Mail (2.752.2) X-UCalgary-MailScanner-Information: Please contact IT Help Desk at (403) 220-5555 for more information X-UCalgary-MailScanner: Found to be clean X-UCalgary-MailScanner-From: woodj@ucalgary.ca X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-13--394624324 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Well apparently the solution is to revert back to 2.0beta3, add a whack of new dependency jars, specify the dependencies element twice, and you're good to go (thanks to Kevin for the hint). http://jira.codehaus.org/browse/MANTTASKS-18?rc=1 Lots of interest in that bug. One curious thing is that 2.0.4 will download new snapshots, but won't reference them in the fileset. J On 19-Apr-07, at 12:10 PM, Julian Wood wrote: > I'm using Antlib for Maven 2.0.4 to get a reference to the > dependencies in my pom for use in some ant targets. It works fine > (though you have to fiddle with your pom to get rid of the NPE's), > but now it won't reference the snapshot dependencies. I've tried a > bunch of different useScope values, but none will ref these > snapshots (which are not only deployed but also installed and in > common use by other maven goals). > > filesetId="compile.dependency.fileset" useScope="compile"> > > > > What do I need to do? > > Thanks, > > J -- Julian Wood Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca --Apple-Mail-13--394624324--