I thought groupId defaulted to "maven", which is what it should be.

If you look at the repository, http://www.ibiblio.org/maven/, the
directories tehre are groupIds, then there'll be jars, wars, plugins, etc
under that, and in there will be artifacts - where the filename is
artifactId-version.jar or similar.

> Needless to say, to someone new to Maven, I wish there were 
> better documentation on this.  ;-)  

plugin:download definitely needs better documentation, yes. It's reasonably
new.

> As a former Ant user it 
> never occurred to me that I would download a plug in.  Very 
> cool feature, of course, but by browsing the site it would be 
> appear to an Ant user that you would download the jar file 
> from the plug-in project site and install it, just like 
> installing a jar in the lib directory of Ant.

Well, this works too. In fact you've already done this - but I'm not sure
what went wrong.

> So, I since I can't get the plugin:download to work what I 
> did was delete the old plugin and manually install 
> clover-plugin-1.4.  It appeared to correctly download version 
> 1.2.3 of clover.jar but I got this (by running '>maven clover -e'):
> 
> BUILD FAILED
> java.lang.NoClassDefFoundError
>         at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCo
> nstructorA
> ccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Dele
> gatingCons
> tructorAccessorImpl.java:27)
>         at
> java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>         at junit.framework.TestSuite.createTest(TestSuite.java:135)
>         at junit.framework.TestSuite.addTestMethod(TestSuite.java:114)
>         at junit.framework.TestSuite.<init>(TestSuite.java:75)
>         at 


Looks like it can't find your test case? Does maven test work correctly?

Cheers,
Brett

Reply via email to