[ http://jira.codehaus.org/browse/MCLOVER-35?page=all ]
Vincent Massol closed MCLOVER-35:
---------------------------------
Resolution: Fixed
Fix Version: 2.2
Fixed, thanks.
> Missing a "test-jar" dependency at compile time.
> ------------------------------------------------
>
> Key: MCLOVER-35
> URL: http://jira.codehaus.org/browse/MCLOVER-35
> Project: Maven 2.x Clover Plugin
> Type: Bug
> Versions: 2.0
> Environment: maven2.0.4, clover (from SVN trunk), OSX
> Reporter: Dane Summers
> Assignee: Vincent Massol
> Priority: Critical
> Fix For: 2.2
> Attachments: pom.xml
>
>
> A jar is missing from the claspath (from the 'plat-test' dependency in the
> example pom). The dependency
> in question is an 'attached test' which I created following the maven2 docs
> (http://maven.apache.org/guides/mini/guide-attached-tests.html).
> Here is a log of the output:
> > ~/Desktop/maven-2.0.4/bin/mvn clover:instrument
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'clover'.
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building SW CIH Application
> [INFO] task-segment:
> [clover:instrument]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Preparing clover:instrument
> [WARNING] Removing: instrument from forked lifecycle, to prevent recursive
> invocation.
> [INFO]
> [clover:instrumentInternal]Clover Version 1.3.12, built on February 08
> 2006loaded from:
> /Users/danesummers/.m2/repository/com/cenqua/clover/clover/1.3.12/clover-1.3.12.jar30
> day Evaluation Version distributed via the Maven Jar Repository.Clover is
> not free. You have 30 days to evaluate it. After this, please visit
> http://www.cenqua.com to obtain a licensed version of CloverUpdating database
> at
> '/Users/danesummers/Documents/workspace/CardInHand/sw-core/target/clover/clover.db'Processing
> files at 1.3 source level.Instrumented 37 source files.
> [INFO]
> [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO]
> [compiler:compile]Compiling 37 source files to
> /Users/danesummers/Documents/workspace/CardInHand/sw-core/target/clover/classes
> [INFO]
> [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO]
> [compiler:testCompile]Compiling 1 source file to
> /Users/danesummers/Documents/workspace/CardInHand/sw-core/target/clover/test-classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation
> failure/Users/danesummers/Documents/workspace/CardInHand/sw-core/src/test/java/net/bobobble/test/SWTests.java:
> [10,28] cannot find symbolsymbol : variable DefaultTestslocation: class
> net.bobobble.test.SWTests
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 25 seconds
> [INFO] Finished at: Mon Apr 24 18:49:11 EDT 2006
> [INFO] Final Memory: 6M/19M
> [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