[ 
https://issues.apache.org/jira/browse/CAMEL-18975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Otavio Rodolfo Piske resolved CAMEL-18975.
------------------------------------------
    Fix Version/s: 4.0
       Resolution: Fixed

Added maven.compiler.release to the pom file to fix the issue.

> Import sorting and code auto-formatting seems to be broken
> ----------------------------------------------------------
>
>                 Key: CAMEL-18975
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18975
>             Project: Camel
>          Issue Type: Task
>          Components: build system
>            Reporter: Otavio Rodolfo Piske
>            Assignee: Otavio Rodolfo Piske
>            Priority: Major
>             Fix For: 4.0
>
>
> The plugin seems to be reporting errors for files that are seemingly 
> correctly formatted:
>  
> {code:java}
> [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] {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to