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

Maven 4 support requirement #952

Closed
hazendaz opened this issue Jan 19, 2025 · 0 comments · Fixed by #957
Closed

Maven 4 support requirement #952

hazendaz opened this issue Jan 19, 2025 · 0 comments · Fixed by #957
Assignees

Comments

@hazendaz
Copy link
Member

[WARNING] Unable to find the root directory. Create a .mvn directory in the root directory or add the root="true" attribute on the root project's model to identify it.

The first item is backwards compatible. The other is not. This is echoed when running a build with maven 4. To fix it, if we have no other reason to start using .mvn that has existed since maven 3.3, then I suggest a simple empty '.gitkeep' to store the folder. That folder location is used by gradle enterprise, develocity, maven.config, jvm.config, and various others so its becoming far more important that using maven wrapper (sic).

Therefore, I will send a PR to add .gitkeep inside .mvn to address the issue as least friction to adhere to this requirement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant