John wrote up the Ant plugin integration (available in 2.0.1) yesterday:

http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html

- Brett

On 1/12/06, Chris Berry <[EMAIL PROTECTED]> wrote:
> http://maven.apache.org/plugins/maven-antrun-plugin/introduction.html
>
> On 1/11/06, Chris Berry <[EMAIL PROTECTED]> wrote:
> >
> > I use Ant as a fundamental scripting language for Maven.
> >
> > I use the antrun plugin. I have a hacked up version that allows me to
> > build Plugins that hold an Ant build file and a simple, thin Mojo that
> > extends the Antrun base class. When executed this Plugin unpacks the Ant
> > build.xml and executes targets against it. It works like a charm. The
> > power of Ant plus the power of maven -- no reinventing the wheel...
> >
> > And AFAIK Jason, John, et al have incorporated my changes into the
> > latest/greatest version -- though I've not tried it since my hacked up
> > version is working fine for me...
> > Cheers,
> > -- Chris
> >
> > On 1/11/06, Michael Böckling <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi Michal,
> > >
> > > thank you for your information. Now I tried to do the same, and I get
> > > the exact same error as you.
> > > It seems the support for mojos written in ANT is unusable in its current
> > > state. Maybe some developer can say something?
> > >
> > > Regards,
> > >     Michael
> > >
> > >
> > >
> > > >>-----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]
> > > >
> > >
> > > --
> > > Giniality AG - Michael Böckling; Steinenberg 21, CH-4051 Basel
> > > P: +41 61 226 99 63 - F: +41 61 226 99 69
> > > [EMAIL PROTECTED]; http://www.giniality.com/
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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]

Reply via email to