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

Suggest the maven wrapper if the build was executed using it #158

Open
yeikel opened this issue Nov 4, 2024 · 1 comment
Open

Suggest the maven wrapper if the build was executed using it #158

yeikel opened this issue Nov 4, 2024 · 1 comment

Comments

@yeikel
Copy link

yeikel commented Nov 4, 2024

When the formatting fails, it produces the following hardcoded message:

[ERROR] There are .editorconfig violations. You may want to run
[ERROR] 
[ERROR]     mvn editorconfig:format
[ERROR] 
[ERROR] to fix them automagically.

This is misleading for projects that use the Maven Wrapper

What It should do instead is to suggest:

  1. Linux/Mac/Other Unix systems:
./mvnw editorconfig:format

2)Windows

.\mvnw.cmd  editorconfig:format
@ppalaga
Copy link
Collaborator

ppalaga commented Dec 12, 2024

Hm... I wonder whether there is a programmatic way to figure out how the Maven process was launched?

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