[ 
https://issues.apache.org/jira/browse/IVY-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gilles Scokart resolved IVY-1110.
---------------------------------

       Resolution: Invalid
    Fix Version/s:     (was: 2.1.0)
                   unspecified
         Assignee: Gilles Scokart

The repository you are using has a structure that only support 1 artefact per 
module and extension : 

with ${basedir}/repo/[module]-[revision].[ext]   You say that all artefacts of 
the modules ivypublish are stored in ivypublish-1.0.jar

If you use ${basedir}/repo/[artifact]-[revision].[ext] in the settings of your 
repository you will have what you expect.






> 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
>            Assignee: Gilles Scokart
>            Priority: Blocker
>             Fix For: unspecified
>
>         Attachments: ivypublish.zip
>
>
> 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