You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Ivan A. Veselovsky (JIRA)" <ji...@apache.org> on 2013/01/22 15:56:13 UTC
[jira] [Created] (HADOOP-9235) Avoid Clover instrumentation of
classes in module "hadoop-maven-plugins"
Ivan A. Veselovsky created HADOOP-9235:
------------------------------------------
Summary: Avoid Clover instrumentation of classes in module "hadoop-maven-plugins"
Key: HADOOP-9235
URL: https://issues.apache.org/jira/browse/HADOOP-9235
Project: Hadoop Common
Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Ivan A. Veselovsky
Assignee: Ivan A. Veselovsky
The module "hadoop-maven-plugins" was introduced by fix HADOOP-8924.
After that fix the full build with Clover instrumentation fails because clover instruments all the modules, including classes from "hadoop-maven-plugins", which are executed by maven without having the clover jar in the classpath.
So, the following build sequence fails being executed in the root folder of the source tree:
mvn clean install -DskipTests
mvn -e -X install -Pclover -DskipTests
...
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: 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
--
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