We have a Maven project using the maven-source-plugin. When building the
project on Jenkins, it shows the following warning:

[INFO] *--- maven-jar-plugin:2.4:jar (default-jar) @ test-project ---
*[INFO] Building jar:
/home/jenkins/workspace/test-project/target/test-project-1.0.0-SNAPSHOT.jar[WARNING]
Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo


I tested with maven-source-plugin 2.2.1, 2.3, and 2.4 and all of these
versions exhibit the same problem. Does anyone know where it is coming from
and/or how to get rid of the warning?

Thank you,
Charles

-----------
I found a similar in the mailing list archive [1], but there was no answer
back then.
There is also this thread [2] on stackoverflow, but the suggestions didn't
appear work.

[1]
http://mail-archives.apache.org/mod_mbox/maven-users/201309.mbox/%3coff445bca1.9545b829-on85257bf1.004db657-85257bf1.004e0...@loomissayles.com%3E

[2]
http://stackoverflow.com/questions/28476924/maven-sourcejar-task-results-in-warnings

Reply via email to