Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.2.0
-
None
Description
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.