Sounds like the Clover plugin doesn't know about test-jar artifacts and is not properly handling them.
Perhaps report to Cenqua? Wayne On 4/24/06, Dane Summers <[EMAIL PROTECTED]> wrote: > Hello, > > I'm having trouble with clover and maven 2 - it appears to be a missing > dependency from the 'plat-test' dependency. 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). > How can I get clover to recognize and use this dependency?? > > (I've tried this with 2.0.3 and 2.0.4 of maven and get the same results) > > [INFO] Scanning for projects... > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building SW CIH Application[INFO] task-segment: [site] > [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 > > > ________________________________ > Blab-away for as little as 1ยข/min. Make PC-to-Phone Calls using Yahoo! > Messenger with Voice. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > >
