[ http://jira.codehaus.org/browse/MWAR-33?page=comments#action_67907 ]
Olivier Lamy commented on MWAR-33: ---------------------------------- Why not using Set artifacts = project.getArtifacts(); And get dependencies of the artifacts with type war. But I think in case of war type transitive dependencies are not resolved. I don't know exactly but I think there is an issue in MNG. With all jars in WEB-INF will come from poms dependencies declaration. IMHO, it's the best and cleaner solution ? With this I'm sure to have the same classpath when I try a junit and when I build my war. -- Olivier > jars with differents versions can be in WEB-INF/lib with war as dependencies > ---------------------------------------------------------------------------- > > Key: MWAR-33 > URL: http://jira.codehaus.org/browse/MWAR-33 > Project: Maven 2.x War Plugin > Type: Bug > Environment: all > Reporter: Olivier Lamy > Fix For: 2.1 > > Original Estimate: 15 minutes > Time Spent: 30 minutes > Remaining: 0 minutes > > My pom has the following dependencies : > - log4j:log4j:1.2.13 > - a war with log4j:log4j:1.2.11 included > Result the two jars are in WEB-INF/lib. -- 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