On 8/22/06, Aaron Mulder <[EMAIL PROTECTED]> wrote:
On 8/22/06, David Jencks <[EMAIL PROTECTED]> wrote:
> 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.

They certainly have -- I've asked about this before.  I specifically
asked to have a working car-maven-plugin along with any reuqired G
libs saved as a new version so we could refer to that version
eternally and not have to worry about upgrades causing problems.
Jason said he couldn't do it but he was going to publish a new
snapshot...

> We could also maybe put a tiny m2 project in branches/1.1 with a
> version of this plugin that works with 1.1

I think the problem is not so much the plugin itself, as the fact that
the plugin is built against G 1.2 JARs (for the kernel and system
modules, etc.).

Yeah, I know, but is there any other way to deal with that, but forking
the plugin and build one version against G 1.1 jars ?


I think any problem with the deployer can be avoided by specifying the
correct set of dependencies and configuration info in the project POM
(to force it to use only 1.1 JARs/CARs and the 1.1 deployer GBean).
But if any of the kernel/system interfaces changed, that would
probably stop working.

Actually, that' s the main problem.

Maybe it would be wiser to fork it.
This would also allow to release one version of the m2 plugin for 1.1 asap.


Thanks,
     Aaron

> >
> >>
> >> 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

Reply via email to