Skip to content

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

@yeikel

Description

@yeikel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions