On 25/09/2007, Hampel, Michael <[EMAIL PROTECTED]> 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...)
unfortunately all too well ;)
in fact the main Felix build just failed because of the new bundleplugin
snapshot!
for some reason Maven fetches the bundleplugin from the apache snapshots
repo,
but then only looks for the OBR plugin on central (never looks at the other
repo)
I've deployed a new snapshot without the FELIX-370 changes to get the build
working again while I investigate what's going on with 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Stuart
> > McCulloch
> > Gesendet: Dienstag, 25. September 2007 09:36
> > An: [email protected]
> > Betreff: Re: maven-bundle-plugin
> >
> > On 25/09/2007, Hampel, Michael <[EMAIL PROTECTED]> 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
>
--
Cheers, Stuart