Skip to content

Error Prone Parser does not detect warnings from maven builds #37

Open
@uhafner

Description

@uhafner

Seems that maven uses a format that is not compatible with your parser:

[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ analysis-model ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 143 source files to /Users/hafner/Development/jenkins/workspace/Model - Freestyle - New/target/classes
[WARNING] /Users/hafner/Development/jenkins/workspace/Model - Freestyle - New/src/main/java/edu/hm/hafner/analysis/parser/RobocopyParser.java:[29,45] [StringSplitter] String.split(String) has surprising behavior
    (see http://errorprone.info/bugpattern/StringSplitter)
  Did you mean 'String file = matcher.group(4).split("\\s{11}", -1)[0];'?
[INFO] 

This warning is not picked up by the parser.
(Maven 3.5.2, violations-lib 1.54)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions