I'm new to OSGi and Karaf and have understanding problem how to integrate a Maven generated POM into Eclipse.
I've created a Maven Karaf archetype using the "karaf-bundle-archetype" as described on the Karaf tutorial [link]
mvn archetype:generate \
-DarchetypeGroupId=org.apache.karaf.archetypes \
-DarchetypeArtifactId=karaf-bundle-archetype \
...
It generates a pom.xml
that I imported into Eclipse as "... existing Maven project". That worked so far.
But then how to proceed in Eclipse? Eclipse does not know that this is a plugin project, e.g. the MANIFEST.MF
is missing.
"Converting the project" to a plug-in project generated a MANIFEST.MF
, but nearly empty and unusable.
I have no clue what is the best way to proceed.
Thanks for any help ! Gerry