Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-18975

Import sorting and code auto-formatting seems to be broken

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.0-M1, 4.0.0
    • build system
    • None
    • Unknown

    Description

      The plugin seems to be reporting errors for files that are seemingly correctly formatted:

       

      [ERROR] Failed to execute goal net.revelc.code:impsort-maven-plugin:1.8.0:sort (sort-imports) on project camel-test-infra-core: Error reading file /home/opiske/code/java/camel/test-infra/camel-test-infra-core/src/test/java/org/apache/camel/test/infra/core/DefaultCamelContextExtension.java: file: /home/opiske/code/java/camel/test-infra/camel-test-infra-core/src/test/java/org/apache/camel/test/infra/core/DefaultCamelContextExtension.java; reason: the Java file contained parse errors -> [Help 1] 

      Attachments

        Activity

          People

            orpiske Otavio Rodolfo Piske
            orpiske Otavio Rodolfo Piske
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: