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

   **[Joerg 
Schaible](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=joehni)** 
commented
   
   We fight with this problem also. Currently we use warExcludes and redeclare 
all the deps. The best solution though might be to introduce a war-client.jar 
similar to an ejb-client. The war-client.jar would contain all classes and - as 
attached artifact - it would provide the transitive deps. With such an artifact 
you could use a dependent war as overlay and exclude anything from WEB-INF/lib 
and WEB-INF/classes and declare the war-client as additional dep. Since the 
war-client is a jar, you'll inherit then all the transitive deps.
   


-- 
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