Last active
November 8, 2022 22:22
-
-
Save jhaber/bc3b09149b1140c8da3537da0eb35e19 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ version-0.18 git:(main) mvn prettier:check | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ----------------------< org.example:version-0.18 >---------------------- | |
[INFO] Building version-0.18 1.0-SNAPSHOT | |
[INFO] --------------------------------[ jar ]--------------------------------- | |
[INFO] | |
[INFO] --- prettier-maven-plugin:0.18:check (default-cli) @ version-0.18 --- | |
[ERROR] Incorrectly formatted file: src/main/java/org/example/Main.java | |
[ERROR] Code formatting issues found, please run prettier-java | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 0.431 s | |
[INFO] Finished at: 2022-11-08T17:18:35-05:00 | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal com.hubspot.maven.plugins:prettier-maven-plugin:0.18:check (default-cli) on project version-0.18: Code formatting issues found, please run prettier-java -> [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/MojoFailureException | |
➜ version-0.18 git:(main) mvn prettier:write | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ----------------------< org.example:version-0.18 >---------------------- | |
[INFO] Building version-0.18 1.0-SNAPSHOT | |
[INFO] --------------------------------[ jar ]--------------------------------- | |
[INFO] | |
[INFO] --- prettier-maven-plugin:0.18:write (default-cli) @ version-0.18 --- | |
[INFO] Reformatted file: src/main/java/org/example/Main.java 8ms | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD SUCCESS | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 0.417 s | |
[INFO] Finished at: 2022-11-08T17:18:47-05:00 | |
[INFO] ------------------------------------------------------------------------ | |
➜ version-0.18 git:(main) ✗ mvn prettier:check | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ----------------------< org.example:version-0.18 >---------------------- | |
[INFO] Building version-0.18 1.0-SNAPSHOT | |
[INFO] --------------------------------[ jar ]--------------------------------- | |
[INFO] | |
[INFO] --- prettier-maven-plugin:0.18:check (default-cli) @ version-0.18 --- | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD SUCCESS | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 0.418 s | |
[INFO] Finished at: 2022-11-08T17:18:51-05:00 | |
[INFO] ------------------------------------------------------------------------ | |
➜ version-0.18 git:(main) ✗ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment