You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamas Cservenak (Jira)" <ji...@apache.org> on 2023/05/26 06:51:00 UTC

[jira] [Created] (MPOM-419) Align allowed line length between checkstyle and spotless

Tamas Cservenak created MPOM-419:
------------------------------------

             Summary: Align allowed line length between checkstyle and spotless
                 Key: MPOM-419
                 URL: https://issues.apache.org/jira/browse/MPOM-419
             Project: Maven POMs
          Issue Type: Bug
            Reporter: Tamas Cservenak


I got this error:
{noformat}
[INFO] --- spotless:2.28.0:check (default) @ maven-resolver-transport-http ---
[INFO] Up-to-date checking enabled
[INFO] Index file does not exist. Fallback to an empty index
[INFO] Sorting file /tmp/pom5593019361728853264.xml
[INFO] Pom file is already sorted, exiting
[INFO] 
[INFO] --- checkstyle:3.2.0:check (checkstyle-check) @ maven-resolver-transport-http ---
[INFO] There is 1 error reported by Checkstyle 9.3 with config/maven_checks_nocodestyle.xml ruleset.
[ERROR] src/main/java/org/eclipse/aether/transport/http/HttpTransporter.java:[145,5] (sizes) MethodLength: Method HttpTransporter length is 152 lines (max allowed is 150) {noformat}
So, spottles claims file is OK, but checkstyle failed it as line is 152 long (max allowed 150)



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