> -----Original Message----- > From: Michael Böckling [mailto:[EMAIL PROTECTED] > Sent: Friday, January 06, 2006 1:56 PM > To: Maven Users List > Subject: Support for mojos written in Ant > > Hi, > > what happened to the maven-antfile-plugin? I can't find it anywhere... I > figured it provides the possiblity to use ANT as mojo language, but the > whole thing is a little unclear to me. My attention was raised by the > 2.0.1 annoncement, and then I found this on the mailinglist: > http://www.nabble.com/Support-for-mojos-written-in-Ant- > t791610.html#a2080582 > Would be great if someone could shed some light on this...
I was trying to write a ant-mojo few weeks ago. I had similar problems with documentation. After little investigation I found the link below. I believe it will be helpful. http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-plugin-tools/maven-plugin-tools-ant/integration-tests/ I've tried to write my plugin basing on those test cases, but I'm having following exception. I've also tried to build those test cases, but the problem is the same. Maybe you will have more luck ;) [INFO] [plugin:descriptor] [INFO] ---------------------------------------------------------------------------- [ERROR] FATAL ERROR [INFO] ---------------------------------------------------------------------------- [INFO] org.apache.maven.tools.plugin.extractor.AbstractScriptedMojoDescriptorExtractor.extractMojoDescriptors(Ljava/util/Map;Lorg/apache/maven/plugin/descriptor/PluginDescriptor;)Ljava/util/List; [INFO] ---------------------------------------------------------------------------- [INFO] Trace java.lang.AbstractMethodError: org.apache.maven.tools.plugin.extractor.AbstractScriptedMojoDescriptorExtractor.extractMojoDescriptors(Ljava/util/Map;Lorg/apache/maven/plugin/descri ptor/PluginDescriptor;)Ljava/util/List; at org.apache.maven.tools.plugin.extractor.AbstractScriptedMojoDescriptorExtrator.execute(AbstractScriptedMojoDescriptorExtractor.java:32) best regards, -- Michal Stochmialek IT Department, Technology Division Euro Bank S.A. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]