On 8/22/06, David Jencks <[EMAIL PROTECTED]> wrote:
On Aug 22, 2006, at 9:34 AM, Guillaume Nodet wrote: > On 8/22/06, Guillaume Nodet <[EMAIL PROTECTED]> wrote: >> I guess I was misunderstood. >> I' m using the maven 2 plugin in trunk to build a plugin for >> Geronimo 1.1. >> This is the only way, because there is no maven 2 plugin for G 1.1. >> Everything was working fine until this recent change. > > If this stuff is not to be supported by the car-maven-plugin, or if > there will > be incompatible changes in the deployer so that the same plugin can > not > handle G 1.1 and 1.2, then I propose we start a new plugin > (where ?) from > the current one to target G 1.1. > I'm not sure anyone thought of this use case: I certainly didn't. Did you find that a small change makes the trunk car plugin work with 1.1? If so I'm certainly willing to consider trying to maintain compatibility.
Aaron and Dain did as they built plugins for Geronimo 1.1 using a m2 build. And there' s no other way to do that afaik. And yes, I found a way. So i will check it in.
We could also maybe put a tiny m2 project in branches/1.1 with a version of this plugin that works with 1.1 thanks david jencks > >> >> Adding a property to specify the target geronimo version seems to >> do the trick. >> So i can now have: >> >> <module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1"> >> <environment> >> >> instead of >> >> <module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1"> >> <environment xmlns="http://geronimo.apache.org/xml/ns/ >> deployment-1.2"> >> >> Btw, I' m wondering why the PlanProcessorMojo only overrides the >> environmnet >> tag, and not the module one. >> >> >> On 8/22/06, Jacek Laskowski <[EMAIL PROTECTED]> wrote: >> > On 8/22/06, Guillaume Nodet <[EMAIL PROTECTED]> wrote: >> > > I recently experienced some problems [1] when building >> Geronimo 1.1 >> > > plugins using >> > > the car-maven-plugin. >> > >> > I think a solution may be to build the maven plugin locally from >> 1.1 >> > sources and build Geronimo 1.1 then. It seems you've been trying to >> > run the build online and thus all the deps (the maven plugin >> > including) is pulled down too. For it's an incompatible version, >> the >> > build blows up. >> > >> > Just a wild guess, but may be of help. Report back! ;-) >> > >> > Jacek >> > >> > -- >> > Jacek Laskowski >> > http://www.laskowski.net.pl >> > >> >> >> -- >> Cheers, >> Guillaume Nodet >> > > > -- > Cheers, > Guillaume Nodet
-- Cheers, Guillaume Nodet
