This is an automated email from the ASF dual-hosted git repository.

dblevins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee-patch-plugin.git

commit 9562527b12ec0cf6fa468de18f2aceaefa8dce5a
Author: David Blevins <[email protected]>
AuthorDate: Sun May 2 22:18:00 2021 -0700

    Fix bug introduced affecting source excludes
---
 .../src/main/java/org/apache/tomee/patch/plugin/PatchMojo.java          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/tomee-patch-plugin/src/main/java/org/apache/tomee/patch/plugin/PatchMojo.java 
b/tomee-patch-plugin/src/main/java/org/apache/tomee/patch/plugin/PatchMojo.java
index cbea52e..d6d4cc2 100644
--- 
a/tomee-patch-plugin/src/main/java/org/apache/tomee/patch/plugin/PatchMojo.java
+++ 
b/tomee-patch-plugin/src/main/java/org/apache/tomee/patch/plugin/PatchMojo.java
@@ -507,7 +507,7 @@ public class PatchMojo extends AbstractMojo {
 
             final String path = 
file.getAbsolutePath().substring(root.getAbsolutePath().length() + 1);
 
-            for (final String exclude : dependencies) {
+            for (final String exclude : sourceExcludes) {
                 if (path.matches(exclude)) {
                     getLog().debug("Exclude source file: " + 
file.getAbsolutePath());
                     continue copy;

Reply via email to