jira-importer commented on issue #170: URL: https://github.com/apache/maven-war-plugin/issues/170#issuecomment-2967847471
**[David Boden](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=daveboden)** commented >> In the EAR's POM, you need to list all the dependencies that the WARs have as direct dependencies in the EAR. This will tell the plugin to copy all dependent jars to <EAR_ROOT>/lib. I've got a fairly complex project that requires packaging as an EAR. It's not really practical to do this. I picked Maven, after all, because of its advanced transitive dependency support. The ear plugin should take all the \<type>war\</type> dependencies and transitively work out its subdependencies. There should be an option to then package these dependencies into the EAR. -- 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