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.
<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
	<parent>
		<groupId>biz.pinedesk.cardinhand</groupId>
		<artifactId>cardinhand</artifactId>
		<version>1.0-SNAPSHOT</version>
	</parent>
	<modelVersion>4.0.0</modelVersion>
	<groupId>biz.pinedesk.cardinhand</groupId>
	<artifactId>sw-core</artifactId>
	<packaging>jar</packaging>
	<version>1.0-SNAPSHOT</version>
	<name>SW CIH Application</name>
	<description>
		Core SW elements - some GUI some CV dependent.
	</description>
	<!--
	<url>http://maven.apache.org</url>
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.4</source>
					<target>1.1</target>
				</configuration>
			</plugin>
		</plugins>
	</build>
	-->
	<dependencies>
		<dependency>
			<groupId>biz.pinedesk.cardinhand</groupId>
			<artifactId>plat-test</artifactId>
			<version>1.0-SNAPSHOT</version>
			<type>test-jar</type>
		</dependency>
		<dependency>
			<groupId>biz.pinedesk.cardinhand</groupId>
			<artifactId>cih-core</artifactId>
			<version>1.0-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>superwaba</groupId>
			<artifactId>superwaba</artifactId>
			<version>4.5a</version>
		</dependency>
	</dependencies>
</project>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to