Jason,
Overnight I checked out svn head of Maven and built it and the
plugin generator is now working fine.
Thanks
Jan
Jason van Zyl wrote:
On Wed, 2005-10-19 at 16:31 +0200, Jan Bartel wrote:
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.
Do you think you could try the 2.0 release now first before we try to do
any further debugging?
thanks
Jan Bartel
---------------------------------------------------------------------
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]