jira-importer commented on issue #247: URL: https://github.com/apache/maven-war-plugin/issues/247#issuecomment-2967855618
**[Michael Horwitz](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=horwitzm)** commented I am attaching a patch for the wr plugin to include the functionality from the Warpath plugin developed for the AppFuse project to solve this issue. We have been using the warpath plugin on the AppFuse project for a while now, and it seems stable. All documentation on the warpath feature is included within the patch as .apt files. To summarise: 1) All classes from WEB-INF/lib are extracted to a jar for inclusion as a system scope dependency on the project. As a result the classes are available during compile, but are not included in the final war. 2) A new artifact type, warpath, is defined by the plugin which allows users to selectively decide which war dependencies to include on the classpath and which not. This prevents changes to the behaviour of the plugin which may affect existing projects which depend on war overlay. 3) Projects are correctly set up for Idea and Eclipse. Outstanding issues: 1) This will not work if the war sources have been included as a jar file (archiveClasses flag is set). This should be trivial to fix. 2) It does not solve the war overlay ordering problem. -- 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