![]() |
|
|
|
|
Change By:
|
Charles Chan
(11/Mar/15 8:17 PM)
|
|
Description:
|
We have a Maven project using the maven-source-plugin. When building the project on Jenkins, it shows the following warning:
{noformat}
[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
{noformat}
I tested with maven-source-plugin 2.2.1, 2.3, and 2.4 and all of these versions exhibit the same problem.
The problem does not appear if the project was compiled from NetBeans or command line.
(Initially, I thought this was a Maven issue, therefore I started a thread at the Maven user's mailing list: http://maven-users.markmail.org/thread/jd74vnjnzfoef55e#query:+page:1+mid:no3jnbfgji2x63wj+state:results)
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/d/optout.