You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ian Springer (JIRA)" <ji...@codehaus.org> on 2010/01/18 23:43:55 UTC
[jira] Commented: (MNG-1991) Can't get transitive dependencies from
a war pom when this war is added as a depdency of a project
[ http://jira.codehaus.org/browse/MNG-1991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=207349#action_207349 ]
Ian Springer commented on MNG-1991:
-----------------------------------
Note: The maven warpath plugin (http://static.appfuse.org/maven-warpath-plugin/) provides a workaround to this issue. I tried it out, and it worked nicely for me.
> Can't get transitive dependencies from a war pom when this war is added as a depdency of a project
> --------------------------------------------------------------------------------------------------
>
> Key: MNG-1991
> URL: http://jira.codehaus.org/browse/MNG-1991
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Dependencies
> Affects Versions: 2.0.2
> Reporter: Emmanuel Venisse
> Fix For: 3.x (to be reviewed)
>
>
> I have a project (continuum-core-it) that need to use all transitive dependencies of a war (continuum-webapp). If i add the war as a dependency of the project with packaging war, war dependencies aren't shown by project, maven doesn't try to resolve them and doesn't add them in classpath.
> If if replace packaging from war to pom, all dependencies are resolved and added to classpath.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira