[
https://issues.apache.org/jira/browse/HADOOP-9249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13562975#comment-13562975
]
Chris Nauroth commented on HADOOP-9249:
---------------------------------------
See error below. We'll need to change hadoop-maven-plugins/pom.xml to put
Clover on the classpath.
{code}
[INFO] --- hadoop-maven-plugins:3.0.0-SNAPSHOT:version-info (version-info) @
hadoop-common ---
[CLOVER] FATAL ERROR: Clover could not be initialised. Are you sure you have
Clover in the runtime classpath? (class
java.lang.NoClassDefFoundError:com_cenqua_clover/CloverVersionInfo)
...
[ERROR] Failed to execute goal
org.apache.hadoop:hadoop-maven-plugins:3.0.0-SNAPSHOT:version-info
(version-info) on project hadoop-common: Execution version-info of goal
org.apache.hadoop:hadoop-maven-plugins:3.0.0-SNAPSHOT:version-info failed: A
required class was missing while executing
org.apache.hadoop:hadoop-maven-plugins:3.0.0-SNAPSHOT:version-info:
com_cenqua_clover/CoverageRecorder
{code}
> hadoop-maven-plugins version-info goal causes build failure when running with
> Clover
> ------------------------------------------------------------------------------------
>
> Key: HADOOP-9249
> URL: https://issues.apache.org/jira/browse/HADOOP-9249
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 3.0.0
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
>
> Running Maven with the -Pclover option for code coverage causes the build to
> fail because of not finding a Clover class while running hadoop-maven-plugins
> version-info.
--
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