Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-dev] Forcing a full build using the BuildContext API

Hi,

I am investigating the m2e behaviour of the maven-scr-plugin. That
plugin cooperates with the maven-bundle-plugin by asking it to ad some
headers to the manifest, using the following mechanism:

- scr plugin runs
- scr plugin sets project property X
- bundle plugin runs
- bundle plugin reads project property X
- bundle plugin updates manifest

The maven-bundle-plugin Eclipse integration is handled by m2e-tycho,
and up til version 0.6 this worked fine.. Some changes in m2e-tycho
which made the manifest regeneration more conservative [1] mean that
the bundle plugin is invoked less often, so the manifest is not
regenerated unless a full build is invoked.

The maven-scr-plugin uses the BuildContext APIs, so is there any way
to trigger a full build using those APIs? Or if someone finds an
alternative means to make incremental builds works I'm all ears.

Thanks,

Robert

[1]: https://github.com/tesla/m2eclipse-tycho/commit/85cd048ffcd47020992bdec2cd44f1a4945173bf

-- 
http://robert.muntea.nu/


Back to the top