Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[MASSEMBLY-1002] Assembly fails to include directories when they are symbolic links #1213

Open
Labels
enhancementNew feature or request

Description

Jimisola Laursen opened MASSEMBLY-1002 and commented

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.

<fileSet>
 <directory>${project.basedir}/target/surefire-reports</directory>
 <outputDirectory>/test_results/surefire</outputDirectory>
 <includes>
 <include>*.*</include>
 </includes>
</fileSet>

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 in terms of being about symlinks, but that ticket is about preserving symbolic links or not which in not the case here.


Affects: 3.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /