ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brown, Carlton" <>
Subject RE: Should force mode work for ivy:install?
Date Tue, 27 Jan 2009 21:33:23 GMT
This was actually from a pure Ivy repo (internal corporate artifacts)
and the ivy.xml is indeed correct.  The problem is definitely that the
chain contained a forced resolver and install forced a revision from it.
When I substituted an un-forced instance of the same resolver in the
chain, install worked as I believe it should.   Force is definitely the
culprit for this problem. 

-----Original Message-----
From: Alan Chaney [] 
Sent: Tuesday, January 27, 2009 11:35 AM
Subject: Re: Should force mode work for ivy:install?

Totally agree with you as ivy:install is supposed to be used to build
"known good" repositories. However, just one minor point - did you check
that the POM selected by the dependency was actually correct? I assume
you were using a maven repo. I've been experimenting with install
recently a lot and haven't noticed the situation you refer to. What was
the dependency referring to?

Alan Chaney

Brown, Carlton wrote:
> Going to bump this topic... Would like an opinion before I open a JIRA

> on this.
> -----Original Message-----
> From: Brown, Carlton []
> Sent: Thursday, January 22, 2009 10:29 AM
> To:
> Subject: Should force mode work for ivy:install?
> Today I used ivy:install to move a certain revision of a module from
> repository (chain) to another repository.   I was somewhat surprised
> see that Ivy magically chose a newer version than I specified.   
> I cannot think of any use case for ivy:install where it would be a
> idea to do this.   In my opinion, all the inputs to ivy:install should
> be used in a fixed manner regardless of resolver force behavior.   Is
> this reasonable thinking?  Would someone look into this if I create a 
> JIRA issue?
> -----------------------------------------
> ====================================================
> This message contains PRIVILEGED and CONFIDENTIAL information that is 
> intended only for use by the named recipient. If you are not the named

> recipient, any disclosure, dissemination, or action based on the 
> contents of this message is prohibited. In such case please notify us 
> and destroy and delete all copies of this transmission.  Thank you.
> ====================================================
> !DSPAM:497f204f210581041662902!

View raw message