maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anders Sveen (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MNG-1991) Can't get transitive dependencies from a war pom when this war is added as a depdency of a project
Date Thu, 15 May 2008 11:35:27 GMT

    [ http://jira.codehaus.org/browse/MNG-1991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134931#action_134931
] 

Anders Sveen commented on MNG-1991:
-----------------------------------

We're packaging a standalone Jetty server in a zip with the assembly and appassembler plugin.
This project has a dependency on two skinny war-projects, and thus need to resolve the transitive
dependencies and include them in the zip. 

>From issues I have seen this is reported as problems with both the war and ear plugin,
but seems to be a broader issue on how to resolve dependencies when the type is war.

> 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
>          Components: Dependencies
>    Affects Versions: 2.0.2
>            Reporter: Emmanuel Venisse
>             Fix For: 2.1
>
>
> 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

        

Mime
View raw message