Jimisola Laursen created MASSEMBLY-1002: -------------------------------------------
Summary: Assembly fails to include directories when they are symbolic links Key: MASSEMBLY-1002 URL: https://issues.apache.org/jira/browse/MASSEMBLY-1002 Project: Maven Assembly Plugin Issue Type: Improvement Affects Versions: 3.6.0 Reporter: Jimisola Laursen Assembly fails to include directories when they are symbolic links. E.g. If the directory "${project.basedir}/target/surefire-reports" is a symbolic link to another directory then the following fileset will not work. {code:java} <fileSet> <directory>${project.basedir}/target/surefire-reports</directory> <outputDirectory>/test_results/surefire</outputDirectory> <includes> <include>*.*</include> </includes> </fileSet> {code} However, if the directory "${project.basedir}/target/surefire-reports" is an actual directory (and not a symlinj ) and the files in that directory are symbolic links then it works as expected. I'm guessing that this might not be a bug in this plugin but rather Maven Resources. There is a related [issue|https://issues.apache.org/jira/browse/MRESOURCES-237] in terms of being about symlinks, but that ticket is about preserving symbolic links or not which in not the case here. -- This message was sent by Atlassian Jira (v8.20.10#820010)