Details
-
Task
-
Status: Closed
-
Minor
-
Resolution: Invalid
-
None
-
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
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