You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Vincent Massol (JIRA)" <ji...@codehaus.org> on 2005/09/19 13:24:11 UTC

[jira] Commented: (MNG-917) clover has to be declared as project dependency to run clover:report

    [ http://jira.codehaus.org/browse/MNG-917?page=comments#action_46656 ] 

Vincent Massol commented on MNG-917:
------------------------------------

Definitely! This is a known issue. When I wrote this first version of the plugin I was not able to find a way to do so. I need to revisit this as it's probably possible by now.

FYI there are some other known issues about the Clover plugin: MNG-618, MNG-917

I think the Clover plugin shouldn't have been released as it's not ready for prime-time yet.


> clover has to be declared as project dependency to run clover:report
> --------------------------------------------------------------------
>
>          Key: MNG-917
>          URL: http://jira.codehaus.org/browse/MNG-917
>      Project: Maven 2
>         Type: Bug
>   Components: maven-clover-plugin
>     Versions: 2.0-beta-1
>     Reporter: Daniel Schömer

>
>
> If I try to run  m2 clover:report  on one of my projects, the goal fails because the compiler can't find the com_cenqua_clover package.  If I declare clover as compile-time dependency, the goal creates a clover report as expected.  I think the clover:report goal should implicit include clover to the classpath.
> # m2 clover:report
> [INFO] Searching repository for plugin with prefix: 'clover'.
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building clOptions
> [INFO]    task-segment: [clover:report]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [clover:instrument]
> [INFO] [resources:resources]
> [INFO] [compiler:compile]
> Compiling 6 source files to /home/daniel/workspace/option/target/clover/classes
> [INFO] ----------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ----------------------------------------------------------------------------
> [INFO] Reason: Compilation failure
> [INFO] ----------------------------------------------------------------------------
> [INFO] /home/daniel/workspace/option/target/clover/src/schoemer/cli/Command.java:[24,117] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/cli/Option.java:[74,115] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/util/LispToStringStyle.java:[14,104] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/util/ReflectionToStringBuilder2.java:[20,125] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/cli/Parser.java:[14,95] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/util/Utils.java:[18,76] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/cli/Command.java:[24,181] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/cli/Command.java:[24,533] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/cli/Command.java:[24,599] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/cli/Option.java:[74,179] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/cli/Option.java:[74,531] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/cli/Option.java:[74,597] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/util/LispToStringStyle.java:[14,168] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/util/LispToStringStyle.java:[14,520] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/util/LispToStringStyle.java:[14,586] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/util/ReflectionToStringBuilder2.java:[20,189] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/util/ReflectionToStringBuilder2.java:[20,541] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/util/ReflectionToStringBuilder2.java:[20,607] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/cli/Parser.java:[14,159] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/cli/Parser.java:[14,511] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/cli/Parser.java:[14,577] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/util/Utils.java:[18,140] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/util/Utils.java:[18,492] package com_cenqua_clover does not exist
> /home/daniel/workspace/option/target/clover/src/schoemer/util/Utils.java:[18,558] package com_cenqua_clover does not exist
> [INFO] ----------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Mon Sep 19 12:22:35 CEST 2005
> [INFO] Final Memory: 5M/10M
> [INFO] ----------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org