Bug 1001391 - Apache Ivy tries to resolve version "working@my.host.name"
Apache Ivy tries to resolve version "working@my.host.name"
Status: NEW
Product: Fedora EPEL
Classification: Fedora
Component: apache-ivy (Show other bugs)
el6
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Matt Spaulding
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-26 20:38 EDT by Sean Flanigan
Modified: 2013-08-26 20:38 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sean Flanigan 2013-08-26 20:38:45 EDT
Description of problem:
Ivy 2.1.0 seems to have a bug resolving transitive dependencies, which causes it to look for the bogus version "working@my.host.name"

Version-Release number of selected component (if applicable):
apache-ivy.noarch 0:2.1.0-1.el6

How reproducible:
100%

Steps to Reproduce:
1. rm -fr ~/.ivy2 && java -jar /usr/share/java/ivy.jar -dependency org.zanata zanata-cli 3.0.1 -warn -main org.zanata.client.ZanataClient

Actual results:
                ::::::::::::::::::::::::::::::::::::::::::::::
                ::          UNRESOLVED DEPENDENCIES         ::
                ::::::::::::::::::::::::::::::::::::::::::::::
                :: org.jboss.resteasy#resteasy-jaxb-provider;working@sflaniga.csb: not found
                :: org.jboss.resteasy#resteasy-multipart-provider;working@sflaniga.csb: not found
                ::::::::::::::::::::::::::::::::::::::::::::::


Expected results:
Usage: zanata-cli [OPTION]... <command> [COMMANDOPTION]...
Zanata Java command-line client
...


Additional info:

The Apache binaries for Ivy 2.1.0 fail with the same error:
rm -fr ~/.ivy2 && java -jar ~/apps/apache-ivy-2.1.0/ivy-2.1.0.jar -warn -dependency org.zanata zanata-cli 3.0.1 -warn -main org.zanata.client.ZanataClient

But 2.2.0 succeeds:
rm -fr ~/.ivy2 && java -jar ~/apps/apache-ivy-2.2.0/ivy-2.2.0.jar -warn -dependency org.zanata zanata-cli 3.0.1 -warn -main org.zanata.client.ZanataClient

Version 2.3.0 is also okay.

NB: It's important to delete the Ivy cache before testing.  Once Ivy 2.1.0 has corrupted the cache, Ivy 2.2.0 or 2.3.0 will fail with the same error.

Note You need to log in before you can comment on or make changes to this bug.