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

Xavier Hanin updated IVY-507:
-----------------------------

    Description: 
When you declare a dependency on a module using the dependency artifact 
construct, Ivy fails to resolve it if you specify also a module configuration. 
All our unit tests on this subject only test without module configurations, 
thus defaulting to *.

Working example:
            <dependency org="apache" name="slide" rev="20050629.161100" 
conf="*->*">   
                <artifact name="slide-webdavlib" type="jar"/> 
            </dependency>
Buggy example:
            <dependency org="apache" name="slide" rev="20050629.161100" 
conf="webdav->default">   
                <artifact name="slide-webdavlib" type="jar"/> 
            </dependency>


  was:
When you declare a dependency on a module using the dependency artifact 
construct, Ivy fails to resolve it if you specify also a dependency module 
configuration. All our unit tests on this subject only test without dependency 
module configurations, thus defaulting to *.

Working example:
            <dependency org="apache" name="slide" rev="20050629.161100" 
conf="webdav->*">   
                <artifact name="slide-webdavlib" type="jar"/> 
            </dependency>
Buggy example:
            <dependency org="apache" name="slide" rev="20050629.161100" 
conf="webdav->default">   
                <artifact name="slide-webdavlib" type="jar"/> 
            </dependency>


        Summary: Bug on handling dependency artifacts when a module 
configuration is specified  (was: Bug on handling dependency artifacts when a 
dependency configuration is specified)

Updated description, since the buggy case is the opposite of what was 
described: the problem appears when there is a main module configuration 
declared in the configuration mapping, and not on dependency configuration.

> Bug on handling dependency artifacts when a module configuration is specified
> -----------------------------------------------------------------------------
>
>                 Key: IVY-507
>                 URL: https://issues.apache.org/jira/browse/IVY-507
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha-1
>            Reporter: Xavier Hanin
>         Assigned To: Xavier Hanin
>             Fix For: 2.0.0-alpha-2
>
>
> When you declare a dependency on a module using the dependency artifact 
> construct, Ivy fails to resolve it if you specify also a module 
> configuration. All our unit tests on this subject only test without module 
> configurations, thus defaulting to *.
> Working example:
>           <dependency org="apache" name="slide" rev="20050629.161100" 
> conf="*->*">   
>               <artifact name="slide-webdavlib" type="jar"/> 
>           </dependency>
> Buggy example:
>           <dependency org="apache" name="slide" rev="20050629.161100" 
> conf="webdav->default">   
>               <artifact name="slide-webdavlib" type="jar"/> 
>           </dependency>

-- 
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