jira-importer commented on issue #104: URL: https://github.com/apache/maven-war-plugin/issues/104#issuecomment-2967842684
**[Marcel Schutte](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mschutte)** commented I just retested this issue and it is indeed influenced by the maven version: - With maven 3.0.4 the behavior is as the original poster describes. It is even independent of the version of maven-war-plugin itself: both the attached TestProject.zip with m-w-p 2.0.1 as my own similar test setup with m-w-p 2.6 include the transitive dependencies in WEB-INF/lib - With maven 3.3.3 this changes to the expected behavior where the optional dependency together with its own dependencies are excluded from the WEB-INF/lib directory but are included in the manfiest Class-Path. Looking further, the issue is solved since maven 3.1.0-alpha-1 -- 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