hboutemy commented on code in PR #93: URL: https://github.com/apache/maven-filtering/pull/93#discussion_r1454775248
########## 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: yes, `.` technically valid value instead of `base directory` human readable-only -- 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: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org