eolivelli commented on a change in pull request #3: [MWAR-371] Overlays break 
first-win rule for web resource with target path ending with '/'
URL: https://github.com/apache/maven-war-plugin/pull/3#discussion_r243770418
 
 

 ##########
 File path: src/main/java/org/apache/maven/plugins/war/util/PathSet.java
 ##########
 @@ -113,7 +109,7 @@ public void addAll( Collection<String> paths, String 
prefix )
     {
         for ( String val : paths )
         {
-            add( prefix + val );
+            add( Paths.get( prefix, val ).toString() );
 
 Review comment:
   Same here

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to