hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan A. Veselovsky (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-9235) Avoid Clover instrumentation of classes in module "hadoop-maven-plugins"
Date Tue, 22 Jan 2013 14:56:13 GMT
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:

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

View raw message