Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 49759 invoked from network); 8 Jul 2007 09:43:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jul 2007 09:43:59 -0000 Received: (qmail 39054 invoked by uid 500); 8 Jul 2007 09:44:02 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 39024 invoked by uid 500); 8 Jul 2007 09:44:02 -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 Received: (qmail 39015 invoked by uid 99); 8 Jul 2007 09:44:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Jul 2007 02:44:01 -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 xavier.hanin@gmail.com designates 209.85.146.178 as permitted sender) Received: from [209.85.146.178] (HELO wa-out-1112.google.com) (209.85.146.178) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Jul 2007 02:43:58 -0700 Received: by wa-out-1112.google.com with SMTP id n4so2061688wag for ; Sun, 08 Jul 2007 02:43:38 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=RxRO5GmhHvUIMtl93CPOwsTP65My6YNCcCzjgGfUw5mo3mZIeAJyljiZ2pPFUIzDNERhEVX5CzBmGec845BktQ/KcCvm/M4jVOoQEOhkftAR5uvSNsfY5aRkmHnU9fN9LlCDZIwdEFQj6ctagtBkU9JDwVkX+V1lpzSzjbWzo0E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ilFFCC09AcrcGZSq+KQF2gza/OyQ/p7CCfNRiWFpQYvP2hzwtQkZTiCtyVV7Wu7K9ZsuhWpW+QPRVBCWABnIS+meG62IuaxYmlZ7GMuWRyD1+/+XIai1Tk0qSBOsCfBz7mgMkAk3AB8pwVRXng0EJTfg1cX384qTb+vCuH/TiCs= Received: by 10.114.15.1 with SMTP id 1mr2152960wao.1183887813825; Sun, 08 Jul 2007 02:43:33 -0700 (PDT) Received: by 10.114.124.10 with HTTP; Sun, 8 Jul 2007 02:43:33 -0700 (PDT) Message-ID: <635a05060707080243g7b9f351aqbc06d976c9f45c72@mail.gmail.com> Date: Sun, 8 Jul 2007 11:43:33 +0200 From: "Xavier Hanin" To: ivy-user@incubator.apache.org Subject: Re: No JAR in the cache? In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_169547_10181074.1183887813794" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_169547_10181074.1183887813794 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 7/8/07, hezjing wrote: > > Hi! > > I have the following ivy.xml, > > > > > > > > > conf="compile" /> > conf="compile" /> > rev="2.0.6" conf="compile" /> > rev="3.3.0.ga" conf="compile" /> > > > > When run, I don't see any error and the dependencies seem to be > successfully resolved. However, there is no JAR loaded in the Ivy's > cache. > > There are only 2 files found in > .ivy\cache\org.springframework\spring-hibernate3: ivy-2.0.6.xml, > ivydata-2.0.6.properties > > Note: I have jta.jar saved at > .ivy\shared\javax.transaction\jta\1.0.1B\jars. > > > Any idea? I'm curious if you will encounter the same problem? I think it's a problem of configuration. Indeed in current Ivy version maven 2 poms expose their artifact in the "master" configuration, and "default", but not in "compile". Gilles suggested to change that, I think it's a good idea. To check if this is the source of your problem, try adding defaultConfMapping="compile,runtime->default" to your dependencies tag. It will tell Ivy that when you declare a dependency as "compile", it should consider it as "compile->default". Xavier -- > > Hez > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://incubator.apache.org/ivy/ http://www.xoocode.org/ ------=_Part_169547_10181074.1183887813794--