Skip to content

[MSHARED-966] Resources are not copied to ${project.build.outputDirectory} #255

@jira-importer

Description

@jira-importer

Ralf Taugerbeck opened MSHARED-966 and commented

Hi,

after upgrading from 3.1.0 to 3.2.0 I get this weird issue. My build fails with a java.nio.file.NoSuchFileException for a file, that actually exists in the resources directory.

What's special about the file is that it was extracted from a dependency artifact. I know this is a strange use case, but for us it is the only way to supply a common Velocity macro library file to other modules for Velocity template development with IntelliJ (only relative paths supported).

File content and encoding do not seem to have an impact. Could it be because of an archive flag? If I modify and save the file, the build works fine again...

If necessary, I can provide a stack trace or detailed log.


Affects: maven-filtering-3.2.0, maven-filtering-3.3.0

Attachments:

Issue Links:

  • MRESOURCES-278 Regression - Changed copy behaviour if file already exists
    ("causes")
  • MSHARED-1004 Two (2) issues with symbolic links

0 votes, 8 watchers

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions