-
Bug
-
Resolution: Fixed
-
Major
-
None
-
OS: Windows 2008 R2 Server SP1
Oracle JDK 1.7.0_75_64Bit (Jenkins and Compile)
Jenkins 1.596 as Windows Service (directly)
Maven 3.2.2
Plugins
analysis-collector 1.42 true false
analysis-core 1.69 true false
ant 1.2 true false
antisamy-markup-formatter 1.3 true true
artifactory 2.2.7 true false
ccm 3.0.1 true false
checkstyle 3.41 true false
cobertura 1.9.6 true false
collapsing-console-sections 1.4.1 true false
copyartifact 1.34 true false
cppcheck 1.20 true false
credentials 1.22 true true
cron_column 1.4 true false
custom-job-icon 0.2 true false
cvs 2.12 true true
deploy 1.10 true false
description-column-plugin 1.3 true false
doclinks 0.6 true false
dry 2.41 true false
emma 1.29 true false
envinject 1.90 true false
external-monitor-job 1.4 true true
findbugs 4.59 true false
fstrigger 0.39 true false
greenballs 1.14 true false
htmlpublisher 1.3 true false
javadoc 1.3 true true
javancss 1.1 true false
junit 1.4 true true
ldap 1.11 true true
log-parser 1.0.8 true false
mailer 1.15 true true
mapdb-api 1.0.6.0 true false
matrix-auth 1.2 true true
matrix-project 1.4 true true
maven-plugin 2.8 true true
mstest 0.11 true false
mstestrunner 1.1.2 true false
nunit 0.16 true false
pam-auth 1.2 true true
powershell 1.2 true false
scm-api 0.2 true false
selenium 2.4.1 true false
sidebar-link 1.6 true false
ssh-credentials 1.10 true true
ssh-slaves 1.9 true true
subversion 2.4.5 true true
tasks 4.44 true false
thinBackup 1.7.4 true false
translation 1.12 true true
vstestrunner 1.0.4 true false
warnings 4.45 true false
windows-slaves 1.0 true false
xunit 1.93 true falseOS: Windows 2008 R2 Server SP1 Oracle JDK 1.7.0_75_64Bit (Jenkins and Compile) Jenkins 1.596 as Windows Service (directly) Maven 3.2.2 Plugins analysis-collector 1.42 true false analysis-core 1.69 true false ant 1.2 true false antisamy-markup-formatter 1.3 true true artifactory 2.2.7 true false ccm 3.0.1 true false checkstyle 3.41 true false cobertura 1.9.6 true false collapsing-console-sections 1.4.1 true false copyartifact 1.34 true false cppcheck 1.20 true false credentials 1.22 true true cron_column 1.4 true false custom-job-icon 0.2 true false cvs 2.12 true true deploy 1.10 true false description-column-plugin 1.3 true false doclinks 0.6 true false dry 2.41 true false emma 1.29 true false envinject 1.90 true false external-monitor-job 1.4 true true findbugs 4.59 true false fstrigger 0.39 true false greenballs 1.14 true false htmlpublisher 1.3 true false javadoc 1.3 true true javancss 1.1 true false junit 1.4 true true ldap 1.11 true true log-parser 1.0.8 true false mailer 1.15 true true mapdb-api 1.0.6.0 true false matrix-auth 1.2 true true matrix-project 1.4 true true maven-plugin 2.8 true true mstest 0.11 true false mstestrunner 1.1.2 true false nunit 0.16 true false pam-auth 1.2 true true powershell 1.2 true false scm-api 0.2 true false selenium 2.4.1 true false sidebar-link 1.6 true false ssh-credentials 1.10 true true ssh-slaves 1.9 true true subversion 2.4.5 true true tasks 4.44 true false thinBackup 1.7.4 true false translation 1.12 true true vstestrunner 1.0.4 true false warnings 4.45 true false windows-slaves 1.0 true false xunit 1.93 true false
When I run a maven multi module build there are frequent warnings in the console log.
[INFO] — maven-clean-plugin:2.5:clean (default-clean) @ com.acme.prod.sto —
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: org.apache.commons.io.IOUtils.lineIterator(Ljava/io/InputStream;Ljava/nio/charset/Charset;)Lorg/apache/commons/io/LineIterator;
[INFO]
[INFO] — build-helper-maven-plugin:1.9.1:add-source (add-source) @ com.acme.prod.sto —
[INFO] Source directory: E:\Jenkins\workspace\prod\com.acme.prod.sto\sto added.
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: org.apache.commons.io.IOUtils.lineIterator(Ljava/io/InputStream;Ljava/nio/charset/Charset;)Lorg/apache/commons/io/LineIterator;
[INFO]
[INFO] — maven-resources-plugin:2.6:resources (default-resources) @ com.acme.prod.sto —
[INFO] Using 'Cp1252' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\Jenkins\workspace\prod\com.acme.prod.sto\src\main\resources
[INFO] skip non existing resourceDirectory E:\Jenkins\workspace\prod\com.acme.prod.sto\src\main\java
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: org.apache.commons.io.IOUtils.lineIterator(Ljava/io/InputStream;Ljava/nio/charset/Charset;)Lorg/apache/commons/io/LineIterator;
[INFO]
[INFO] — maven-compiler-plugin:3.2:compile (default-compile) @ com.acme.prod.sto —
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 132 source files to E:\Jenkins\workspace\prod\com.acme.prod.sto\target\classes
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: org.apache.commons.io.IOUtils.lineIterator(Ljava/io/InputStream;Ljava/nio/charset/Charset;)Lorg/apache/commons/io/LineIterator;
[INFO]
[INFO] — maven-checkstyle-plugin:2.13:checkstyle (default) @ com.acme.prod.sto —
[INFO]
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: org.apache.commons.io.IOUtils.lineIterator(Ljava/io/InputStream;Ljava/nio/charset/Charset;)Lorg/apache/commons/io/LineIterator;
[INFO]
[INFO] — maven-resources-plugin:2.6:testResources (default-testResources) @ com.acme.prod.sto —
[INFO] Using 'Cp1252' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\Jenkins\workspace\prod\com.acme.prod.sto\src\test\resources
[INFO] skip non existing resourceDirectory E:\Jenkins\workspace\prod\com.acme.prod.sto\src\test\java
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: org.apache.commons.io.IOUtils.lineIterator(Ljava/io/InputStream;Ljava/nio/charset/Charset;)Lorg/apache/commons/io/LineIterator;
[INFO]
[INFO] — maven-compiler-plugin:3.2:testCompile (default-testCompile) @ com.acme.prod.sto —
[INFO] No sources to compile
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: org.apache.commons.io.IOUtils.lineIterator(Ljava/io/InputStream;Ljava/nio/charset/Charset;)Lorg/apache/commons/io/LineIterator;
[INFO]
[INFO] — maven-surefire-plugin:2.18.1:test (default-test) @ com.acme.prod.sto —
[INFO] Tests are skipped.
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: org.apache.commons.io.IOUtils.lineIterator(Ljava/io/InputStream;Ljava/nio/charset/Charset;)Lorg/apache/commons/io/LineIterator;
[INFO]
[INFO] — maven-jar-plugin:2.5:jar (default-jar) @ com.acme.prod.sto —
[INFO] Building jar: E:\Jenkins\workspace\prod\com.acme.prod.sto\target\com.acme.prod.sto-5.4.2-SNAPSHOT.jar
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: org.apache.commons.io.IOUtils.lineIterator(Ljava/io/InputStream;Ljava/nio/charset/Charset;)Lorg/apache/commons/io/LineIterator;
[INFO]
[INFO] — maven-install-plugin:2.4:install (default-install) @ com.acme.prod.sto —
[INFO] Installing E:\Jenkins\workspace\prod\com.acme.prod.sto\target\com.acme.prod.sto-5.4.2-SNAPSHOT.jar to E:\MavenRepository\com\acme\collab\common\com.acme.prod.sto\5.4.2-SNAPSHOT\com.acme.prod.sto-5.4.2-SNAPSHOT.jar
[INFO] Installing E:\Jenkins\workspace\prod\com.acme.prod.sto\pom.xml to E:\MavenRepository\com\acme\collab\common\com.acme.prod.sto\5.4.2-SNAPSHOT\com.acme.prod.sto-5.4.2-SNAPSHOT.pom
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: org.apache.commons.io.IOUtils.lineIterator(Ljava/io/InputStream;Ljava/nio/charset/Charset;)Lorg/apache/commons/io/LineIterator;
[INFO]
[INFO] — maven-checkstyle-plugin:2.13:checkstyle (default-cli) @ com.acme.prod.sto —
[INFO]
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: org.apache.commons.io.IOUtils.lineIterator(Ljava/io/InputStream;Ljava/nio/charset/Charset;)Lorg/apache/commons/io/LineIterator;
[INFO]
[INFO] — javancss-maven-plugin:2.1:report (default-cli) @ com.acme.prod.sto —
[INFO] Running JavaNCSS 33.54
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: org.apache.commons.io.IOUtils.lineIterator(Ljava/io/InputStream;Ljava/nio/charset/Charset;)Lorg/apache/commons/io/LineIterator;
I assume there are multiple versions of commons-io lib in the classpath.
The method signature org.apache.commons.io.IOUtils.lineIterator(Ljava/io/InputStream;Ljava/nio/charset/Charset;)Lorg/apache/commons/io/LineIterator; seems to be new in commons-io 2.4.
Edit:
I have disabled all post build setting -> the warnings disappeared.
If I re-enable the Checkstyle post build setting (Publish checkstyle analysis) the warning are displayed, but only under the checkstyle goal in the log.