You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andrei Podznoev (Jira)" <ji...@apache.org> on 2021/10/01 09:09:00 UTC
[jira] [Comment Edited] (MSHARED-966) Resources are not copied to
${project.build.outputDirectory}
[ https://issues.apache.org/jira/browse/MSHARED-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17423198#comment-17423198 ]
Andrei Podznoev edited comment on MSHARED-966 at 10/1/21, 9:08 AM:
-------------------------------------------------------------------
I'm not sure, but it looks similar to the issue we are having:
after Spring Boot Update 2.3.4 -> 2.4.0, maven-resource-plugin got updated to 3.2.0 and it has broken our tests, where we copy (automatically, default configuration) test directory with DB configuration, which should be read by TestContainers.
The issue it not reproducible on MacOS, but fails pipelines.
I've spent multiple days so far, to track the issue down, but no luck so far.
was (Author: avp):
I'm not sure, but it looks similar to the issue we are having:
after Spring Boot Update 2.3.4 -> 2.4.0, maven-resource-plugin got updated to 3.2.0 and it has broken our tests, where we copy (automatically, default configuration) test directory with DB configuration, which should be read by TestContainers.
I've spent multiple days so far, to track the issue down, but no luck so far.
> Resources are not copied to ${project.build.outputDirectory}
> ------------------------------------------------------------
>
> Key: MSHARED-966
> URL: https://issues.apache.org/jira/browse/MSHARED-966
> Project: Maven Shared Components
> Issue Type: Bug
> Components: maven-filtering
> Affects Versions: maven-filtering-3.2.0
> Environment: Maven 3.6.3, Java 11, macOS
> Reporter: Ralf Taugerbeck
> Priority: Major
> Attachments: maven-example.tgz, maven.log
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)