You are best to use the plugin:download goal to install, as it cleans up old
ones, but you've got the right answer. Can you run again with -e so we know
what class is not found?

Thanks,
Brett

> -----Original Message-----
> From: Christian Cabanero [mailto:[EMAIL PROTECTED] 
> Sent: Friday, 6 February 2004 3:46 PM
> To: [EMAIL PROTECTED]
> Subject: Trouble installing new clover-plug-in
> 
> 
> I'm using Maven 1.0-rc1 and it comes with version 1.2 of the 
> clover-plug-in.  How do I upgrade to version 1.4 of the 
> clover-plug-in?
> 
>  
> I tried downloading 1.4 of the clover plug-in and installing 
> it into my MAVEN_HOME\plugins directory after which it 
> created a new \.maven\plugins\maven-clover-plugin-1.4 
> directory in my home directory. It also downloaded into my 
> local repository a copy of version 1.2.3 of the clover jar 
> file as it now seems to depend on a later version of clover.
>  
> However, the old 1.2 directory was still there and every time 
> I ran clover with maven it looked like it was using the old 
> version of the plug-in.  So I tried deleting that old 
> directory and also deleting the old 
> maven-clover-plugin-1.2.jar from the MAVEN_HOME/plugins 
> directory but now I get this:
>  
> BUILD FAILED
> File...... file:/C:/Documents and 
> Settings/ccabanero/.maven/plugins/maven-test-plugin-1.4/
> Element... junit
> Line...... 94
> Column.... 39
> java.lang.NoClassDefFoundError
> Total time: 4 seconds
> Finished at: Thu Feb 05 19:57:34 PST 2004
>  
> It appears to not be able to run the plug-in.  It's aware of 
> the goal but I'm guessing it can't find the jar file or 
> something.  Any ideas? How do I get Maven to be aware of the 
> new version of the clover-plug-in?
>  
> Thanks for any help!
>  
> Christian
>  
> 

Reply via email to