That did the trick. Thanks for the info.

--BW
On Dec 21, 2004, at 11:44 AM, Charles Daniels wrote:

For jar overrides, use the artifactId, not the groupId. In your case,
you want to set the property maven.jar.clover-ant, not maven.jar.clover.



-----Original Message-----
From: Brian Wainwright [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 21, 2004 9:21 AM
To: [EMAIL PROTECTED]
Subject: Maven not reading project.properties for Clover

Hello,

I've just upgraded to version 1.6 of the clover plugin and am
trying to
override the plugin jar with my own licensed clover jar file (version
1.3.3). Unfortunately, no matter what I do, it appears that
Maven isn't
reading the properties I've set for the Clover plugin in
project.properties:

#CLOVER PLUGIN FOR MAVEN
maven.clover.instrument.tests=true
maven.clover.report.html=true
maven.jar.override=on
maven.jar.clover=/usr/local/clover/lib/clover.jar
maven.clover.license.path=

It insists on using the 1.3_01 version - even to the extent that it
will go out and download it if I remove it from the repository and
replace it with my licensed version. Here's the output I get
when I run
maven clover:on cactus or maven clean clover:on cactus...

java:compile:
     [echo] Compiling to
/Users/bwain/Documents/Vulcan/Projects/cvs/scape/target/clover/classes
     [javac] Compiling 354 source files to
/Users/bwain/Documents/Vulcan/Projects/cvs/scape/target/clover/classes
     [javac] Clover Version 1.3_01, built on July 09 2004
     [javac] loaded from:
/Users/bwain/.maven/repository/clover/jars/clover-ant-1.3_01.jar
     [javac] [ERROR] No license file found.

I'm using Maven version 1.0 on Mac OS X with Java version 1.4.2.

Thanks for any suggestions. I'm kind of at a loss as to how
to proceed
as it appears to be an issue with the plugin and not with Clover.

--Brian

=========================
Brian R. Wainwright
Senior Developer
Information Technology and Telecommunications
WGBH Educational Foundation
ph/fax:617.300.3450
e-mail: [EMAIL PROTECTED]



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



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



Reply via email to