You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Maarten Coene (JIRA)" <ji...@apache.org> on 2012/08/20 00:22:37 UTC

[jira] [Resolved] (IVY-1357) hk2-jar can't be resolved

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

Maarten Coene resolved IVY-1357.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.0
         Assignee: Maarten Coene

Will be fixed in next release, thanks for reporting!
                
> hk2-jar can't be resolved
> -------------------------
>
>                 Key: IVY-1357
>                 URL: https://issues.apache.org/jira/browse/IVY-1357
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core, Maven Compatibility
>    Affects Versions: 2.2.0
>            Reporter: Daniel Schaarschmidt
>            Assignee: Maarten Coene
>             Fix For: 2.3.0
>
>
> I'm trying to resolve the following dependency which works fine with Maven:
> <dependency org="com.sun.xml.ws" name="jaxws-rt" rev="2.2.3"/>
> But with Ivy I get the following error:
> [FAILED     ] org.glassfish.ha#ha-api;3.1.8!ha-api.hk2-jar:
> The correct file extension is "jar", not "hk2-jar" which Ivy obviously is looking for.
> In this setting the affected transitive dependencies are:
> <dependency org="com.sun.enterprise" name="hk2" rev="1.0.36">
>   <artifact name="hk2" type="jar" ext="jar"/>
> </dependency>
> <dependency org="org.glassfish.ha" name="ha-api" rev="3.1.8">
>   <artifact name="ha-api" ext="jar" type="jar"/>
>   <exclude org="com.sun.enterprise" module="hk2"/>
> </dependency>
> A similar problem description can be found here: https://groups.google.com/forum/#!topic/simple-build-tool/AYLw15EJcvg
> Their solution: force hk2-jars to be treated like standard jars.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira