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

Endpoint DSL - Skip checkstyle

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0.M4, 3.0.0
    • Component/s: build system
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      The Endpoint DSL generates some class that are too long and also some lines that are long.
      We should disable checkstyle for this module

      [INFO] — maven-checkstyle-plugin:3.0.0:checkstyle (default-cli) @ camel-endpointdsl —
      [INFO] Starting audit...
      [ERROR] /Users/davsclaus/workspace/camel/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/SalesforceEndpointBuilderFactory.java:2764: Line is longer than 250 characters (found 561). [LineLength]
      [ERROR] /Users/davsclaus/workspace/camel/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/DockerEndpointBuilderFactory.java:1275: Line is longer than 250 characters (found 418). [LineLength]
      [ERROR] /Users/davsclaus/workspace/camel/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/FtpsEndpointBuilderFactory.java:1: File length is 5,513 lines (max allowed is 5,000). [FileLength]
      [ERROR] /Users/davsclaus/workspace/camel/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/FacebookEndpointBuilderFactory.java:1: File length is 5,318 lines (max allowed is 5,000). [FileLength]
      [ERROR] /Users/davsclaus/workspace/camel/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/TwilioEndpointBuilderFactory.java:435: Line is longer than 250 characters (found 1,116). [LineLength]
      [ERROR] /Users/davsclaus/workspace/camel/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/LinkedInEndpointBuilderFactory.java:1137: Line is longer than 250 characters (found 1,095). [LineLength]
      [ERROR] /Users/davsclaus/workspace/camel/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/SftpEndpointBuilderFactory.java:1: File length is 5,148 lines (max allowed is 5,000). [FileLength]
      [ERROR] /Users/davsclaus/workspace/camel/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/AMQPEndpointBuilderFactory.java:1: File length is 5,273 lines (max allowed is 5,000). [FileLength]
      [ERROR] /Users/davsclaus/workspace/camel/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/ActiveMQEndpointBuilderFactory.java:1: File length is 5,299 lines (max allowed is 5,000). [FileLength]
      [ERROR] /Users/davsclaus/workspace/camel/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/JmsEndpointBuilderFactory.java:1: File length is 5,273 lines (max allowed is 5,000). [FileLength]
      [ERROR] /Users/davsclaus/workspace/camel/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/DigitalOceanEndpointBuilderFactory.java:308: Line is longer than 250 characters (found 360). [LineLength]
      Audit done.
      [INFO] There are 11 errors reported by Checkstyle 7.6.1 with camel-checkstyle.xml ruleset.

        Attachments

          Activity

            People

            • Assignee:
              acosentino Andrea Cosentino
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: