Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 30031 invoked from network); 9 May 2007 21:12:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 May 2007 21:12:48 -0000 Received: (qmail 85263 invoked by uid 500); 9 May 2007 21:12:54 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 85246 invoked by uid 500); 9 May 2007 21:12:54 -0000 Mailing-List: contact ivy-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@incubator.apache.org Delivered-To: mailing list ivy-user@incubator.apache.org Delivered-To: moderator for ivy-user@incubator.apache.org Received: (qmail 67461 invoked by uid 99); 9 May 2007 21:06:26 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Date: Wed, 09 May 2007 23:09:57 +0200 From: Fred Vos Subject: Re: Read from Maven local repository In-reply-to: <635a05060705081618o4a1e75fdo4d3631f55d9a8ed5@mail.gmail.com> To: ivy-user@incubator.apache.org Message-id: <20070509210957.GD21554@mopti.mokolo.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) X-PGP-Key-ID: 0xF12F6072 References: <20070507201217.GA21554@mopti.mokolo.org> <635a05060705080837x652d6de4uc52ab816a261c3c2@mail.gmail.com> <20070508210046.GB21554@mopti.mokolo.org> <635a05060705081618o4a1e75fdo4d3631f55d9a8ed5@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On Wed, May 09, 2007 at 01:18:24AM +0200, Xavier Hanin wrote: > On 5/8/07, Fred Vos wrote: [...] > > To get transitive dependencies Ivy need to get metadata about your modules, > so you have to configure your url resolver to tell where your module > descriptors (poms in your case) are. The name is misleading, but what you > actually need to do is add an ivy pattern to your url resolver: > > > > I added this > and how to put all dependencies in the > >target/lib directory. > > > This is what the retrieve operation is for, you should have something like > that on the command line (if there isn't, open a JIRA issue). There is a retrieve operation in the command line. I used this command: % java -cp -settings ivysettings.xml -retrieve "target/lib/[artifact]-[revision].[ext]" This does create a target/lib subdirectory and adds the two direct dependencies to this lib directory. That's a big step forward. Unfortunately it doesn't add the transitive dependencies. I don't see any warnings or errors. I tried adding a transitive="true" attribute to both dependencies in the ivy.xml file, but that doesn't help. Running the command with -verbose flag doesn't reveal any problem. Searched google to for any other clue, but couldn't find anythying. Puzzled, Fred -- |E R | D F | |fred at fredvos dot org |5235 DG 52 NL +31 73 6411833