You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Felix Simmendinger (JIRA)" <ji...@codehaus.org> on 2010/02/10 16:42: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=209657#action_209657 ] 

Felix Simmendinger commented on MNG-1991:
-----------------------------------------

we work with skinny wars a lot and we got use to declare also a dependency to the pom of the war. By doing this you get all dependencies resolved and retrieved to the WEB-INF/lib dir.

> 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