abelsromero commented on code in PR #93:
URL: https://github.com/apache/maven-filtering/pull/93#discussion_r1456561815


##########
src/main/java/org/apache/maven/shared/filtering/DefaultMavenResourcesFiltering.java:
##########
@@ -254,9 +255,15 @@ private File getTargetFile(File file) throws 
MavenFilteringException {
                 Path destination = getDestinationFile(outputDirectory, 
targetPath, "", mavenResourcesExecution)
                         .getAbsoluteFile()
                         .toPath();
+                String origin = basedir.relativize(
+                                resourceDirectory.getAbsoluteFile().toPath())
+                        .toString();
+                if (StringUtils.isEmpty(origin)) {
+                    origin = "base directory";

Review Comment:
   Done, thanks!



-- 
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