ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans Dockter (JIRA)" <>
Subject [jira] Commented: (IVY-902) Maven Snapshot resolution does not work with dual resolver
Date Thu, 25 Sep 2008 20:17:44 GMT


Hans Dockter commented on IVY-902:

I was aware that only the IBibilio resolver is capable of metadata handling. But in this case
I thought it would work as the actual pom resolving is still done by the IBibilio resolver.
Anyway, the work around is ridiculously simple and obvious. But for some reason I haven't
figured this out. Thanks.

Right now I'm almost done with an Ivy2Pom converter (which is more powerful than the one currently
shipped with Ivy). When the code is working I will discuss this in the Ivy dev list. 

I'm curious to learn about the difficulties for generic metadata support. Again, I will raise
this issue in the dev list.

> Maven Snapshot resolution does not work with dual resolver
> ----------------------------------------------------------
>                 Key: IVY-902
>                 URL:
>             Project: Ivy
>          Issue Type: Bug
>          Components: Maven Compatibility
>            Reporter: Hans Dockter
>            Assignee: Xavier Hanin
>            Priority: Blocker
> Here is an example for an unsucessful retrieval of a snapshot dependency when using a
dual resolver. The same example works fine, if only the IBiblio resolver is used.
> {code:xml}
> <ivysettings>
>     <settings defaultResolver="main" validate="false"/>
>     <resolvers>
>         <dual name="main">
>             <ibiblio name="ivy" m2compatible="true" root=""/>
>             <url name="artifact" m2compatible="true">
>                 <artifact pattern="[module]/[revision]/[artifact]-[revision].[ext]"/>
>             </url>
>         </dual>
>     </resolvers>
> </ivysettings>
> {code}
> {code:xml}
> <ivy-module version="2.0">
>     <info organisation="apache" module="hello-ivy"/>
>     <dependencies>
>         <dependency org="jboss.jbossws-common" name="jbossws-common" rev="1.0.5-SNAPSHOT"/>
>     </dependencies>
> </ivy-module>
> {code}

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

View raw message