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 2008/03/18 23:44:26 UTC
[jira] Commented: (IVY-762) Type tag in poms not supported
[ https://issues.apache.org/jira/browse/IVY-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580152#action_12580152 ]
Maarten Coene commented on IVY-762:
-----------------------------------
An additional problem is that Ivy doesn't has support for the type attribute on <dependency> elements in Ivy files neither. As you can see on http://ant.apache.org/ivy/history/latest-milestone/ivyfile/dependency.html, it's not possible to specify the desired type of the dependency.
> Type tag in poms not supported
> ------------------------------
>
> Key: IVY-762
> URL: https://issues.apache.org/jira/browse/IVY-762
> Project: Ivy
> Issue Type: Bug
> Components: Maven Compatibility
> Affects Versions: 2.0.0-beta-2
> Reporter: Harald Braumann
>
> Ivy does not support the <type> tag in poms and always uses jar as default. If there is a dependency on an artifact living in a maven2 repository, and that artifact has e.g. the following dependency
> <dependency>
> <groupId>foo</groupId>
> <artifactId>bar</artifactId>
> <version>1.0</version>
> <type>dll</type>
> </dependency
> Ivy resolves this transitive dependency as ``foo#bar;1.0!bar.jar'' instead of ``foo#bar;1.0!bar.dll''. This severly limits the use of maven2 repositories.
> As pointed out by Gilles Scokart on the mailing list, new types can be defined by maven plug-ins.
> In many cases, however, the type just corresponds to the file extension. A simple mapping of type = extension could be used as a first step to support the <type> tag.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.