You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Stephane Epardaud (JIRA)" <ji...@apache.org> on 2009/04/22 12:22:47 UTC
[jira] Commented: (IVY-1058) PomModuleDescriptorBuilder does not
resolve ejb type dependencies to jar extension.
[ https://issues.apache.org/jira/browse/IVY-1058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701473#action_12701473 ]
Stephane Epardaud commented on IVY-1058:
----------------------------------------
I can confirm it fixes it for me although I didn't find a way to make the jar go into my "[type]/" folder with type==jar (it goes in ejb/)
> PomModuleDescriptorBuilder does not resolve ejb type dependencies to jar extension.
> -----------------------------------------------------------------------------------
>
> Key: IVY-1058
> URL: https://issues.apache.org/jira/browse/IVY-1058
> Project: Ivy
> Issue Type: Bug
> Components: Maven Compatibility
> Affects Versions: 2.0
> Reporter: Andrey Lomakin
> Assignee: Maarten Coene
> Fix For: trunk
>
> Attachments: IVY-1058_2009_04_07.patch
>
>
> During of parsing POM module dependency with type ejb, method PomModuleDescriptorBuilder#addDependency should use
> PomModuleDescriptorBuilder#JAR_PACKAGINGS List as well as PomModuleDescriptorBuilder#addMainArtifact method.
> For example if I use following code
> {code:xml}
> <dependency org="org.jboss.seam" name="jboss-seam-ui" rev="2.1.1.GA" conf="compile,production->default"/>
> {code}
> in ivy.xml, dependency
> org.jboss.seam#jboss-seam;2.1.1.GA!jboss-seam.ejb module will be tried to load instead of org.jboss.seam#jboss-seam;2.1.1.GA!jboss-seam.jar module.
> In the pom.xml this dependency is described like:
> {code:xml}
> <dependency>
> <groupId>org.jboss.seam</groupId>
> <artifactId>jboss-seam</artifactId>
> <type>ejb</type>
> </dependency>
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.