maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rfscho...@apache.org
Subject [maven-shade-plugin] 06/08: - checkstyle
Date Sat, 10 Nov 2018 12:52:53 GMT
This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a commit to branch MSHADE-291
in repository https://gitbox.apache.org/repos/asf/maven-shade-plugin.git

commit cc3312716aea2ead70d0838db011a8146dd3ccc8
Author: Fabiano C. de Oliveira <fabcipriano@yahoo.com.br>
AuthorDate: Sat Nov 10 02:07:26 2018 -0200

    - checkstyle
---
 .../org/apache/maven/plugins/shade/relocation/SimpleRelocator.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/maven/plugins/shade/relocation/SimpleRelocator.java
b/src/main/java/org/apache/maven/plugins/shade/relocation/SimpleRelocator.java
index b0f749b..8ae605b 100644
--- a/src/main/java/org/apache/maven/plugins/shade/relocation/SimpleRelocator.java
+++ b/src/main/java/org/apache/maven/plugins/shade/relocation/SimpleRelocator.java
@@ -183,7 +183,8 @@ public class SimpleRelocator
             path = path.substring( 1 );
         }
 
-        return isIncluded( path ) && !isExcluded( path ) && path.startsWith(
pathPattern ) && !path.startsWith( shadedPathPattern );
+        return isIncluded( path ) && !isExcluded( path ) && path.startsWith(
pathPattern ) 
+                && !path.startsWith( shadedPathPattern );
     }
 
     public boolean canRelocateClass( String clazz )


Mime
View raw message