[ 
https://issues.apache.org/jira/browse/CAMEL-13728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16879193#comment-16879193
 ] 

Andrea Cosentino commented on CAMEL-13728:
------------------------------------------

Fixed by relaxing linelength and filelength parameters in checkstyle.xml

> Endpoint DSL - Skip checkstyle
> ------------------------------
>
>                 Key: CAMEL-13728
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13728
>             Project: Camel
>          Issue Type: Improvement
>          Components: build system
>            Reporter: Claus Ibsen
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 3.0.0.M5
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to