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

Ivan A. Veselovsky updated HADOOP-9235:
---------------------------------------

    Resolution: Duplicate
        Status: Resolved  (was: Patch Available)

Duplicate of HADOOP-9249, which suggests better fix.
                
> 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 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

Reply via email to