Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] build-before-launch ? background m2e task ?

The conflicting mapping is probably from Tycho, the only option would be to remove the conflicting mapping.  That said, I believe the tycho configurator provides some support for bnd though Igor may correct me here ;)

Matthew

On 12 October 2011 17:17, Andrei Pozolotin <andrei.pozolotin@xxxxxxxxx> wrote:
Hello;

1) I am developing a m2e extension on the lines of:
http://wiki.eclipse.org/M2E_Extension_Development

2) In need to cover 2 executions:

a) http://felix.apache.org/site/apache-felix-maven-scr-plugin-use.html
org.apache.felix:maven-scr-plugin:scr

b) http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
org.apache.felix:maven-bundle-plugin:manifest

QUESTIONS:

A) I need to run both of the above goals right before java application launch via eclipse launcher;
(I do not want to run them on incremental build)
how m2e gives access to "build-before-launch" JDT event?

B) if there is no m2e access to "build-before-launch" JDT event,
can  I run these goals on background, in async thread pool w/o blocking m2e builder invocation?
(so incremental build just serves as a trigger for background rebuild)

C) maven-bundle-plugin life cycle is already mapped by some other m2e extension;
(I receive "conflicting life cycle mappings" error)
how can I override that? how can I find which other extension is doing that?

Thank you,

Andrei


_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev



Back to the top