diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2019-02-07 11:26:06 -0500 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2019-02-07 11:28:19 -0500 |
commit | cdad1f3c519c14fe99c390c78f60b883294e307e (patch) | |
tree | f1a86af95cf85d672a77964fc6d8b1e42abd9694 /checkstyle | |
parent | e26a9900cc5bae1321e652812ada768020c6cb4a (diff) |
Fix checkstyle build and xml
The XML for onap-java-code style has a bug identified by Eclipse. The
maxLineLength field is not allowed.
In addition, not sure how any jobs work already, the sourceDirectory
appends and extra "src/main/java" to the path so some builds don't
always find the correct source files to generate warnings. The plugin
is a bit flaky and sometimes seems to find the java files, while other
times it does not. So some checkstyle warnings are not generated.
Change-Id: Ia07065a0d0df1429643680cb5bd70b5ec13bebde
Issue-ID: TSC-71
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'checkstyle')
-rw-r--r-- | checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml b/checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml index 32439e2..77ef3ae 100644 --- a/checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml +++ b/checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml @@ -73,7 +73,6 @@ </module> <module name="NeedBraces"/> <module name="LeftCurly"> - <property name="maxLineLength" value="120"/> </module> <module name="RightCurly"> <property name="option" value="alone"/> |