Hi,
Using the 2.0-beta-3 release of Maven, I'm trying to create a Java
plugin. I've tried just cutting and pasting the Hello World example
from the website, but I get the same error, which is when I try to
generate the plugin.xml as part of the "m2 install" command, I get:
Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.maven.plugin.descriptor.PluginDescriptor.setName(Ljava/lang/String;)V
at
org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(AbstractGeneratorMojo.java:91)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417)
[..snip..]
My project looks like:
/helloworld
pom.xml
/src/main/java/sample/plugin
GreetingMojo.java
Again, pom.xml and GreetingMojo.java are straight from the website.
If someone could point me in the right direction I'd be grateful.
thanks
Jan Bartel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]