Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Problem with M2E and OSGi runtime launch config

Hi Philipp,

maven-bundle-plugin is not compatible with Eclipse PDE. If you need to use PDE because are developing an Eclipse plugin, RCP or RAP application but you would like to have an CI / release build with maven you should be using Eclipse Tycho.
If you are doing OSGi development unrelated to Eclipse platform, you can ditch PDE (which is pretty horrible IMO) and use Bndtools instead. They work quite well with Maven / m2e / maven-bundle-plugin.
There's also another another alternative: Eclipse Virgo tooling and Bundlor which I believe is also available as Maven plugin. I haven't explored that path.


On 07/13/2013 09:06 PM, Philipp Marx wrote:

I am not 100% sure whether this is the right place to ask but I give it a try :)

I have a multi module project setup with Maven which uses the maven-bnd-plugin to generate valid OSGi bundles. This works out perfect.

I want to be able to start these projects in Eclipse via an OSGi runtime launch config. My problem though is that the projects managed by M2E sometimes disappear from the list of selectable workspace bundles within the launch config or sometimes will show up a red cross "out of sync".

I have already search for a solution or issue but didn't find any hint. Does anybody has a clue about why this happens?

Eclipse version is 4.3 and 4.2 and M2E is 1.4.

Thanks in advance.


m2e-users mailing list

Back to the top