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] [Updated] (HADOOP-9235) Avoid Clover instrumentation of classes in module "hadoop-maven-plugins"
Date Tue, 22 Jan 2013 15:00:19 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-9235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Ivan A. Veselovsky updated HADOOP-9235:

    Attachment: HADOOP-9235-trunk.patch

The attached patch fixes the problem by setting the appropriate clover excludes in the root
pom.xml. Currently the patch is targeted to "trunk" branch only. It can be also backported
to other branches if the fix HADOOP-8924 will be ported to other branches.
> 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
>         Attachments: HADOOP-9235-trunk.patch
> 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
> 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