jira-importer commented on issue #190: URL: https://github.com/apache/maven-war-plugin/issues/190#issuecomment-2967849125
**[Eugene Kuleshov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=eu)** commented Brett, I can't say about subset, but there is no way to exclude certain dependencies from being packaged into war. Eg. servlet-api-2.4.jar is required for most of the sevlet or web framework but it should not be packaged into war because api is provided by container. In case when war is packaged within EAR it is even worse, because it may be necessary to put dependencies into EAR in order to be loaded by common classloader between war, ejb jar and rar. So, such common classes must NOT be packaged in war. -- 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