Tristan,
You should first upgrade to bnd-maven-plugin version 3.0, which was released earlier this month (obviously I need to upgrade the example project also… I will get on that). This fixes the error message from m2eclipse.
Second, since these are maven projects you must always import into Eclipse with the “Import existing maven projects” wizard. This will give you an environment in which you can develop OSGi bundles in Eclipse and build them with Maven. Unfortunately in 3.0, it is hard to use the Bndtools launching infrastructure to actually run an OSGi Framework with your bundles in it. This is the focus of our development work for 3.1. If you are willing to live at the bleeding edge, you will find the following features to help you out:
* An additional plugin, bnd-indexer-maven-plugin, can be used to generate an OSGi Repository index from a bunch of maven projects and their transitive dependencies.
* In bndtools, run descriptor files can be used in “standalone” mode, so a cnf project is not needed. You just need to point it at the URLs of one or more repository indexes, such as one generated by the aforementioned plugin.
However this is all in active development at the moment so it will take some time to become stable. If you don’t want to use the snapshots then will have to find another way to configure and launch OSGi runtimes.
Regards,
Neil