Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-7910

Fix spotless finding after JMC-7903

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8.3.0
    • None
    • Mission Control Core
    • None

      After resolving JMC-7903, spotless bails out:

      Error: Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.14.0:check (default-cli) on project common: The following files had format violations:
      Error: src/main/java/org/openjdk/jmc/common/collection/FastAccessNumberMap.java
      Error: @@ -255,4 +255,4 @@
      Error: \t\t\tthrow·new·UnsupportedOperationException();
      Error: \t\t}
      Error: \t}
      Error: -}
      Error: +}
      Error: Run 'mvn spotless:apply' to fix these violations.
      Error: -> [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
      Error:
      Error: After correcting the problems, you can resume the build with the command
      Error: mvn <args> -rf :common
      Error: Process completed with exit code 1.

       

            clanger Christoph Langer
            clanger Christoph Langer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: