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

repair checkstyle in branch camel-3.x

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • None
    • 3.21.0
    • build system
    • None
    • Unknown

    Description

      Checkstyle plugin fails for several components with next error in the  branch camel-3.x

      [ERROR] E:\camel-forkcomponents\camel-spring-ws\src\test\resources\org\apache\camel\component\spring\ws\addresing\ProducerParamsBasicTest-context.xml:54: Line is longer than 250 characters (found 261). [LineLength]

       

      It is necessary to exclude test resources test/resources/.xml from the style check in maven-checkstyle-plugin  - they are not important anyway, but this will fix the project build

       

      I spent several hours (due to a weak computer) to fix the test files in different components one by one, but I ran into an unsolvable problem, I don’t know how to shorten the next line in the test file components\camel-spring-ws\src\test\resources\org\apache\camel\component\spring\ws\addresing\ProducerParamsBasicTest-context.xml:60

      <to uri="spring-ws:http://google.com?wsAddressingAction=http://wsaAction.com&webServiceTemplate=#webServiceTemplate&replyTo=mailto://replyTo@chocolatejar.eu&endpointMapping=#endpointMapping&faultTo=http://fault.to&messageIdStrategy=#staticId" />

       

      The string is longer than 250 characters and I don't know how to shorten it so as not to break the tests. I consider it most reasonable to exclude test files from the general rule

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            shmakovaa Shmakov Alexey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: