Daniel Schaarschmidt created IVY-1357:
-----------------------------------------
Summary: 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
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