Skip to content

Instantly share code, notes, and snippets.

@olamy
Created February 15, 2023 11:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olamy/4c5ef44755f2d99f96c533de1121dce1 to your computer and use it in GitHub Desktop.
Save olamy/4c5ef44755f2d99f96c533de1121dce1 to your computer and use it in GitHub Desktop.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.701 s
[INFO] Finished at: 2023-02-15T21:11:49+10:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.28.0:check (default) on project maven-compiler-plugin: The following files had format violations:
[ERROR] src/it/MCOMPILER-517-install-not-recompile/app/src/main/java/module-info.java
[ERROR] @@ -6,9 +6,9 @@
[ERROR] ·*·to·you·under·the·Apache·License,·Version·2.0·(the
[ERROR] ·*·"License");·you·may·not·use·this·file·except·in·compliance
[ERROR] ·*·with·the·License.··You·may·obtain·a·copy·of·the·License·at
[ERROR] -·*·
[ERROR] +·*
[ERROR] ·*···http://www.apache.org/licenses/LICENSE-2.0
[ERROR] -·*·
[ERROR] +·*
[ERROR] ·*·Unless·required·by·applicable·law·or·agreed·to·in·writing,
[ERROR] ·*·software·distributed·under·the·License·is·distributed·on·an
[ERROR] ·*·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
[ERROR] @@ -19,4 +19,4 @@
[ERROR]
[ERROR] module·org.maven.test.app·{
[ERROR] ····requires·org.maven.test.lib;
[ERROR] -}
[ERROR] +}
[ERROR] src/it/MCOMPILER-517-install-not-recompile/app/src/main/java/org/maven/test/app/Main.java
[ERROR] @@ -1,3 +1,21 @@
[ERROR] +/*
[ERROR] +·*·Licensed·to·the·Apache·Software·Foundation·(ASF)·under·one
[ERROR] +·*·or·more·contributor·license·agreements.··See·the·NOTICE·file
[ERROR] +·*·distributed·with·this·work·for·additional·information
[ERROR] +·*·regarding·copyright·ownership.··The·ASF·licenses·this·file
[ERROR] +·*·to·you·under·the·Apache·License,·Version·2.0·(the
[ERROR] +·*·"License");·you·may·not·use·this·file·except·in·compliance
[ERROR] +·*·with·the·License.··You·may·obtain·a·copy·of·the·License·at
[ERROR] +·*
[ERROR] +·*···http://www.apache.org/licenses/LICENSE-2.0
[ERROR] +·*
[ERROR] +·*·Unless·required·by·applicable·law·or·agreed·to·in·writing,
[ERROR] +·*·software·distributed·under·the·License·is·distributed·on·an
[ERROR] +·*·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
[ERROR] +·*·KIND,·either·express·or·implied.··See·the·License·for·the
[ERROR] +·*·specific·language·governing·permissions·and·limitations
[ERROR] +·*·under·the·License.
[ERROR] +·*/
[ERROR] package·org.maven.test.app;
[ERROR]
[ERROR] /*
[ERROR] @@ -8,9 +26,9 @@
[ERROR] ·*·to·you·under·the·Apache·License,·Version·2.0·(the
[ERROR] ·*·"License");·you·may·not·use·this·file·except·in·compliance
[ERROR] ·*·with·the·License.··You·may·obtain·a·copy·of·the·License·at
[ERROR] -·*·
[ERROR] +·*
[ERROR] ·*···http://www.apache.org/licenses/LICENSE-2.0
[ERROR] -·*·
[ERROR] ... (19 more lines that didn't fit)
[ERROR] Violations also present in:
[ERROR] src/it/MCOMPILER-517-install-not-recompile/lib/src/main/java/module-info.java
[ERROR] src/it/MCOMPILER-517-install-not-recompile/lib/src/main/java/org/maven/test/lib/Sout.java
[ERROR] Run 'mvn spotless:apply' to fix these violations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment