HubSpot / prettier-maven-plugin

Apache License 2.0
116 stars 23 forks source link

Outputs violating files when running `check` #49

Closed MaXeraph closed 2 years ago

MaXeraph commented 3 years ago

Issue came out of https://github.com/HubSpot/prettier-maven-plugin/issues/48

Currently running check will simply fail the goal without listing any specific non-java files. Would be nice to see them.

admin@admins project % mvn prettier:check
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building project 0.1.1
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- prettier-maven-plugin:0.14:check (default-cli) @ project ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 42.415 s
[INFO] Finished at: 2021-07-14T11:50:03-04:00
[INFO] Final Memory: 14M/50M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.hubspot.maven.plugins:prettier-maven-plugin:0.14:check (default-cli) on project bridge: Error trying to run prettier-java: 1 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException