Peter Oxenham created IVY-1379:
----------------------------------
Summary: force attribute on resolver fails if module already in
cache
Key: IVY-1379
URL: https://issues.apache.org/jira/browse/IVY-1379
Project: Ivy
Issue Type: Bug
Affects Versions: 2.3.0-RC1
Reporter: Peter Oxenham
Attachments: ivy-2.3_force.patch
I have been struggling with getting the force="true" functionality to work and
I now believe there to be a bug.
Consider the scenario where:
A(1.0) > B(2.0) > C(1.1)
and the resolver config is
chain -> filesystemLocal(force), resolverX
A resolve is performed and there is nothing in the local repo so the cache will
then contain
A(1.0)
B(2.0)
C(1.1)
Then a local version of C is published (local_1)
Performing a resolve at this point I would expect the following to be resolved
A(1.0)
B(2.0)
C(local_1)
But instead the same three versions as above are resolved.
I have created a patch for 2.3.0_rc1 which includes a test to prove the problem.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira