Failure to load user specified clover
-------------------------------------
Key: MPCLOVER-41
URL: http://jira.codehaus.org/browse/MPCLOVER-41
Project: maven-clover-plugin
Type: Bug
Versions: 1.9
Reporter: Binyan
Attachments: zoo.zip
I have a project =that is being migrated from ant to maven and I would like to
use the maven-clover-plugin, however nothing I do seems to affect the clover
jar used. I get the following output:
D:\dev\workspace-log4j\Zoo>maven clean jar:install clover:report
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
Attempting to download clover-1.3.6.jar.
1488K downloaded
build:start:
clean:clean:
[delete] Deleting directory D:\dev\workspace-log4j\Zoo\target
clean:
java:prepare-filesystem:
[mkdir] Created dir: D:\dev\workspace-log4j\Zoo\target\classes
java:compile:
[echo] Compiling to D:\dev\workspace-log4j\Zoo/target/classes
[echo]
==========================================================
NOTE: Targetting JVM 1.5, classes
will not run on earlier JVMs
==========================================================
[javac] Compiling 1 source file to D:\dev\workspace-log4j\Zoo\target\classe
java:jar-resources:
test:prepare-filesystem:
[mkdir] Created dir: D:\dev\workspace-log4j\Zoo\target\test-classes
[mkdir] Created dir: D:\dev\workspace-log4j\Zoo\target\test-reports
test:test-resources:
test:compile:
[javac] Compiling 1 source file to D:\dev\workspace-log4j\Zoo\target\test-c
asses
test:test:
[junit] Running com.abc.FooTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.04 sec
jar:jar:
[jar] Building jar: D:\dev\workspace-log4j\Zoo\target\zoo-1.0-SNAPSHOT.jar
Copying: from 'D:\dev\workspace-log4j\Zoo\target\zoo-1.0-SNAPSHOT.jar' to: 'd:\
ev\apache\maven-repo\zoo\jars\zoo-1.0-SNAPSHOT.jar'
Copying: from 'D:\dev\workspace-log4j\Zoo\project.xml' to: 'd:\dev\apache\maven
repo\zoo\poms\zoo-1.0-SNAPSHOT.pom'
jar:install:
clover:init:
clover:init-internal:
[mkdir] Created dir: D:\dev\workspace-log4j\Zoo\target\clover\classes
[mkdir] Created dir: D:\dev\workspace-log4j\Zoo\target\clover\database
clover:report:
[echo] No Clover database found, skipping report generation
BUILD SUCCESSFUL
Total time: 11 seconds
Finished at: Tue May 31 18:34:21 CDT 2005
D:\dev\workspace-log4j\Zoo>
No matter what, the plugin insists on downloading a different version of
clover. I have tried the 1.6 version that came with maven 1.0.2 and the 1.7
and 1.9 versions. Attached is a 2 class project that recreates the issue.
Note that the project includes a project.properties with the following
properties which should specify the correct clover to use:
maven.jar.override=on
maven.clover.jar = clover-1.3.8.jar
maven.clover.license.path = D:\dev\clover-1.3.8\lib\clover.license
--
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]