lprimak commented on PR #555:
URL: https://github.com/apache/maven-war-plugin/pull/555#issuecomment-3358121873

   Ok, the net new code is only this:
   ```
      private boolean isExcluded(String targetFilename, List<String> 
packagingIncludes, List<String> packagingExcludes) {
           for (String exclude : packagingExcludes) {
               if (SelectorUtils.matchPath(exclude.trim(), targetFilename)) {
                   return true;
               }
           }
           for (String include : packagingIncludes) {
               if (SelectorUtils.matchPath(include.trim(), targetFilename)) {
                   return false;
               }
           }
           return true;
       }
   }
   ```
   
   Really worth testing?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to