You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephane Nicoll (JIRA)" <ji...@codehaus.org> on 2007/05/27 11:17:59 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#action_97175 ] 

Stephane Nicoll commented on MNG-1991:
--------------------------------------

Brett, another use case: overlays.

You have a dependency on a war that contains classes you need to compile your project. Adding the war as an overlay of the war project should be enough to resolve its classes (and maybe associated libs)

> 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
>          Issue Type: Bug
>    Affects Versions: 2.0.2
>            Reporter: Emmanuel Venisse
>             Fix For: 2.1.x
>
>
> 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