[ http://jira.codehaus.org/browse/MCLOVER-1?page=all ] Vincent Massol closed MCLOVER-1: --------------------------------
Resolution: Fixed Fixed again versions after the jira move from "Maven 2" to "Maven 2.x Clover Plugin" > clover has to be declared as project dependency to run clover:report > -------------------------------------------------------------------- > > Key: MCLOVER-1 > URL: http://jira.codehaus.org/browse/MCLOVER-1 > Project: Maven 2.x Clover Plugin > Type: Bug > Versions: 2.0-alpha-1 > Reporter: Daniel Schömer > Assignee: Brett Porter > Fix For: 2.0 > > Original Estimate: 1 hour > Time Spent: 30 minutes > Remaining: 0 minutes > > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]