Stuart McCulloch wrote:
On 25/09/2007, Hampel, Michael <[EMAIL PROTECTED]> wrote:

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?

By default maven-obr-plugin was called during the "install" with the "repository" goal and during the "deploy" phase with the "deployment" are goal.

Also the default configuration of the maven-obr-plugin is that it skips the execution of the "deployment" goal during the deploy phase and execute the "repository" goal during the install phase.

IMO, invoking an plugin which just skips do not introduce a tangible overhead.


(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





Reply via email to