Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resources no longer copied when .mvn directory exists #1225

Closed
Frettman opened this issue Feb 1, 2023 · 2 comments
Closed

Resources no longer copied when .mvn directory exists #1225

Frettman opened this issue Feb 1, 2023 · 2 comments

Comments

@Frettman
Copy link

Frettman commented Feb 1, 2023

I'm having the wierd issue that as soon as a project contains the .mvn directory, resources from src/main/resources are no longer copied to target\classes. An empty .mvn folder is enough. I can reproduce this with a fresh 2022-12 Eclipse IDE for Java Developers by creating a new Maven project. Create a resource file and it ends up in target\classes. Create the .mvn directory, do a clean and the resource file is gone and won't reappear.
2022-03 doesn't have the issue yet.

@laeubi
Copy link
Member

laeubi commented Feb 1, 2023

Please try out the latest snapshot build, you can use this p2 repository:

https://download.eclipse.org/technology/m2e/snapshots/latest/

@Frettman
Copy link
Author

Frettman commented Feb 1, 2023

Yes, thank you, that fixes it. I also just found #1150 so it's been reported and fixed already, just not released yet. So I'm closing this.

@Frettman Frettman closed this as completed Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants