[
http://jira.codehaus.org/browse/MNG-1991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134933#action_134933
]
Anders Sveen commented on MNG-1991:
-----------------------------------
Duplicating the dependency, just as a type=pom made the appassembler include
the needed libraries. It's not the best way to do it, but might be an
acceptable way for my use case.
> 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