jira-importer commented on issue #189:
URL: 
https://github.com/apache/maven-war-plugin/issues/189#issuecomment-2967849007

   **[Olivier 
Lamy](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=olamy)** 
commented
   
   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
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to