bugfix: regression due to targetPath interfering with the exclusion logic by lprimak · Pull Request #583 · apache/maven-war-plugin (original) (raw)

…ogic

<targetPath> in the plugin configuration would add / or // to the file name, making it be excluded by default with the ** pattern. This PR uses original filename without prepending <targetPath> to check if it's included.

fixes #577

Following this checklist to help us incorporate your
contribution quickly and easily:

If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.

To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.