[
https://jira.codehaus.org/browse/MNG-1991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=361824#comment-361824
]
Paul Benedict commented on MNG-1991:
------------------------------------
Yes, that's how I have seen it done. You add the "war" to get the artifact and
the war's "pom" to get its dependencies.
> Can't get transitive dependencies from a war pom when this war is added as a
> depdency of a project
> --------------------------------------------------------------------------------------------------
>
> Key: MNG-1991
> URL: https://jira.codehaus.org/browse/MNG-1991
> Project: Maven
> Issue Type: Bug
> Components: Dependencies
> Affects Versions: 2.0.2
> Reporter: Emmanuel Venisse
> Attachments: war-deps.tar
>
>
> 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 was sent by Atlassian JIRA
(v6.1.6#6162)