[HAP-880] Log format breaks analysis plugins for maven Builds Created: 27/Jan/17 Updated: 27/Jan/17 Status: Project: Component/s: Affects Version/s: Fix Version/s: Open Jenkins Artifactory Plug-in Maven2, Maven3 None Type: Reporter: Resolution: Labels: Environment: Bug Martin Kutter Unresolved None Jenkins 2.32.1 Artifactory Plugin 2.9.0 Warning Plugin 4.59 Maven 3.3.9 None Priority: Assignee: Votes: High Eyal Ben Moshe (Inactive) 0 Description The console output issued from artifactory maven builder differs from the maven output on the command line (different format): With Artifactory Maven Builder: {{[main] INFO org.codehaus.plexus.compiler.javac.JavacCompiler - Compiling 4 source files to /data/jenkins.bktest.dummy.de/workspace/git.bk.datev.de/jenkins-tests/compile-jar-compilerwarnings/target/classes [main] WARN org.apache.maven.plugin.compiler.CompilerMojo /data/jenkins.bktest.dummy.de/workspace/git.bk.datev.de/jenkins-tests/compile-jar-compilerwarnings/src/main/java/de/datev/build/test/ClassUsingDeprecatedMethod.java:[9,12] [deprecation] deprecatedDoNothing() in ClassWithDeprecatedMethod has been deprecated [main] WARN org.apache.maven.plugin.compiler.CompilerMojo /data/jenkins.bktest.dummy.de/workspace/git.bk.datev.de/jenkins-tests/compile-jar-compilerwarnings/src/main/java/de/datev/build/test/RedundantCastToString.java:[9,21] [cast] redundant cast to String [main] WARN org.apache.maven.plugin.compiler.CompilerMojo /data/jenkins.bktest.dummy.de/workspace/git.bk.datev.de/jenkins-tests/compile-jar-compilerwarnings/src/main/java/de/datev/build/test/EmptyBlock.java:[9,18] [empty] empty statement after if }} Without: {{ [INFO] Compiling 4 source files to D:\Users\t06636a\IdeaProjects\jenkins-tests\compile-jarcompiler-warnings\target\classes [WARNING] D:\Users\t06636a\IdeaProjects\jenkins-tests\compile-jar-compilerwarnings\src\main\java\de\datev\build\test\RedundantCastToString.java:[9,21] Warnung: [cast] redundante Umsetzung in String [WARNING] D:\Users\t06636a\IdeaProjects\jenkins-tests\compile-jar-compilerwarnings\src\main\java\de\datev\build\test\ClassUsingDeprecatedMethod.java:[9,12] Warnung: [deprecation] deprecatedDoNothing() in ClassWithDeprecatedMethod ist veraltet [WARNING] D:\Users\t06636a\IdeaProjects\jenkins-tests\compile-jar-compilerwarnings\src\main\java\de\datev\build\test\EmptyBlock.java:[9,18] Warnung: [empty] leere Anweisung nach 'if' }} This breaks compatibility with plugins analyzing the console output, like the warnings plugin https://wiki.jenkins-ci.org/display/JENKINS/Warnings+Plugin Generated at Thu Apr 06 11:01:19 UTC 2017 using JIRA 7.1.9#71013sha1:1aa0586d78efb7ed8b3de5c648d4b24912070b66.