ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Schaarschmidt (JIRA)" <>
Subject [jira] [Created] (IVY-1357) hk2-jar can't be resolved
Date Wed, 13 Jun 2012 14:21:43 GMT
Daniel Schaarschmidt created IVY-1357:

             Summary: hk2-jar can't be resolved
                 Key: IVY-1357
             Project: Ivy
          Issue Type: Bug
          Components: Core, Maven Compatibility
    Affects Versions: 2.2.0
            Reporter: Daniel Schaarschmidt

I'm trying to resolve the following dependency which works fine with Maven:
<dependency org="" 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 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"/>

A similar problem description can be found here:!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:!default.jspa
For more information on JIRA, see:


View raw message