Hi everybody,

the Maven2 plugin is indeed one of the things that the Cactus project is
missing.
I spent quite a lot of time trying to write one, and all my efforts failed.
The Maven2
plugin should obviously reuse a lot of code from the maven surefire plugin.
So I wanted
to extend the surefire plugin, but it turned out that extending a mojo,
means that the
instance variables of the parent class, are always null and you cannot
actually use them
(this is because maven mojos get their instance variables populated via
annotations and not
getter-setter methods). I just came back from the ApacheCON conference,
where I spoke
with some of the Maven developers, and they confirmed that this is a
well-known issue.
So, they said, the only way of making the plugin seems to be via patching
the surefire plugin
itself. This seems like a burden to me, but if it is the only way to go, I
will try to patch it.

The cactus team (currently only me :-( ) will be really interested in having
the Maven2 plugin.
I have also other things in my TODO list but, of course, the Maven2 plugin
is one of my
top TODO items :-).

Cheers, Petar.

2008/4/18, Bartosz Baranowski <[EMAIL PROTECTED]>:
>
> Hi
> Im participating in quite huge project which recently had been mavenized.
> And as You may think we came accross problem. Recently we also introduced
> cactus tests for incontainer testing - and BAM there is no m2 plugin for
> cactus. - I have managed to run cactus with use of ant,m2 and ivy but
> thats
> overkill. Is there any dev plan on creating m2 plugin? I didnt find
> anything
> in TODO list so...
> Me and maybe someone from my team would be interested in having such a
> toy,
> so we could either drive or lend a hand to develop m2 plugin.
>
>
>
> --
> Bartosz Baranowski
> JBoss R & D
> ==================================
> Word of criticism meant to improve is always step forward.
>



-- 
Regards, Petar!
Karlovo, Bulgaria.

EOOXML Objections
http://www.grokdoc.net/index.php/EOOXML_objections

Public PGP Key at:
https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611
Key Fingerprint: A369 A7EE 61BC 93A3 CDFF  55A5 1965 8550 C311 0611

Reply via email to