Retrieve and resolve don't download the correct artifacts
---------------------------------------------------------

                 Key: IVY-1110
                 URL: https://issues.apache.org/jira/browse/IVY-1110
             Project: Ivy
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.1.0-RC2
            Reporter: Hans Dockter
            Priority: Blocker
             Fix For: 2.1.0


For the following dependency ivy.xml file the artifacts are not properly 
resolved. After a resolve you find both ivypublish and ivypublishSource in the 
cache. But both files have the content of ivypublish-1.0.jar. I have attached 
an ivy project to reproduce the problem.

{code}
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="1.0">
        <info organisation="org.gradle.test"
                module="ivypublish"
                revision="1.0"
                status="integration"
                publication="20090814143056"
        />
        <configurations>
                <conf name="archives" visibility="public" 
description="Configuration for the default artifacts."/>
                <conf name="compile" visibility="private" 
description="Classpath for compiling the sources."/>
                <conf name="default" visibility="public" 
description="Configuration the default artifacts and its dependencies." 
extends="archives,runtime"/>
                <conf name="dists" visibility="public"/>
                <conf name="runtime" visibility="private" 
description="Classpath for running the compiled sources." extends="compile"/>
                <conf name="testCompile" visibility="private" 
description="Classpath for compiling the test sources." extends="compile"/>
                <conf name="testRuntime" visibility="private" 
description="Classpath for running the test sources." 
extends="runtime,testCompile"/>
        </configurations>
        <publications>
                <artifact name="ivypublish" type="jar" ext="jar" 
conf="archives"/>
                <artifact name="ivypublishSource" type="jar" ext="jar" 
conf="archives"/>
        </publications>
</ivy-module>
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to