How do I use the plugin:download goal?  It says that I have to specify
'artifactId' but I'm not sure how to do this (I'm new to maven).

And then how do I run with -e?  Would that be  >maven -e clover  ?

As an aside, I'm also wondering why clover doesn't run by default when I
do maven jar or maven test or maven site:generate.  I do have
<report>maven-clover-plugin</report>  in my reports section of my
project.xml.  It's a little confusing figuring out which goals depend on
which other goals.  How would I make it so that clover always runs if I
run the test goal?

Thanks,
Christian

-----Original Message-----
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 05, 2004 8:48 PM
To: 'Maven Users List'
Subject: RE: Trouble installing new clover-plug-in


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
>  
> 


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

Reply via email to