felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart McCulloch" <stuart.mccull...@jayway.net>
Subject Re: AW: maven-bundle-plugin
Date Tue, 25 Sep 2007 14:48:10 GMT
On 25/09/2007, Richard S. Hall <heavy@ungoverned.org> wrote:
>
> Ultimately, I agree with Michael that it seems that you would somehow
> want to specifically say whether you want to do this as opposed to
> having it happen automatically.


certainly that's my own preference, as it doesn't cause any surprises!

but I would like to try to accommodate simple OBR installation if
possible...

However, I don't have the time to
> actually play with it right now to see exactly what it is doing...


no worries, I'm happy digging around in maven code ;)

-> richard
>
> Hampel, Michael wrote:
> > Hello,
> >
> > Please don't get me wrong - I think the obr plugin provides valuable
> functionality and
> > makes provisioning now a lot easier.
> > I only didn't see the reason why the goals had to be run within the
> > maven-bundle-plugin:bundle goal - I only wanted more configuration
> freedom:)
> > (I am sure the obr plugin will not cause any errors but you also know
> Maven...)
> >
> >
> > Thanx again,
> >
> > Michael
> >
> >
> >
> >
> >> Hello Stuart,
> >>
> >> Thank you for your answer.
> >> I guess there are good reasons why to run the goal(s) - ("repository",
> >> "deployment") automatically?
> >> What speaks against adding the maven-obr-plugin in the pom explicitly
> so I
> >> have the possibility to
> >> control what I am executing?
> >>
> >
> >
> > updating the OBR metadata automatically means you're able to take
> advantage
> > of other
> > OBR tooling provided by Felix, which can help when deploying your
> > application bundles.
> > The OBR goals shouldn't add much overhead or cause any errors - if they
> do
> > let us know!
> >
> > Stefano / Clement - can you give more background to the OBR integration
> > story?
> >
> > (Removing the goals from the maven-bundle-plugin's plexus config would
> >
> >> enable this?)
> >>
> >
> >
> > correct - you'd then have to add the OBR goals explicitly to your pom
> >
> > Thanx again,
> >
> >> Michael
> >>
> >>
> >>
> >>
> >>
> >> -----Urspr√ľngliche Nachricht-----
> >> Von: mcculls@gmail.com [mailto:mcculls@gmail.com] Im Auftrag von Stuart
> >> McCulloch
> >> Gesendet: Dienstag, 25. September 2007 09:36
> >> An: dev@felix.apache.org
> >> Betreff: Re: maven-bundle-plugin
> >>
> >> On 25/09/2007, Hampel, Michael <michael.hampel@siemens.com> wrote:
> >>
> >>> Hello again,
> >>>
> >>> after today's update of the maven-bundle-plugin the obr plugin is run
> >>> automatically within
> >>> the install phase.
> >>> I have not added the obr-plugin to my pom - so who is triggering the
> >>> execution and can I
> >>> stop it somehow?
> >>>
> >> this was added recently in FELIX-370:
> >>
> >>    https://issues.apache.org/jira/browse/FELIX-370
> >>
> >> you should be able to stop it from installing the OBR file using:
> >>
> >>    -Dmaven.obr.installToLocalOBR=false
> >>
> >> but I think it may still execute (just not do anything)
> >>
> >> Thanx in advance for any help,
> >>
> >>> Michael
> >>>
> >>>
> >>>
> >>>
> >> --
> >> Cheers, Stuart
> >>
> >>
> >
> >
> >
> >
>



-- 
Cheers, Stuart

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message