>>>>> Ephemeris Lappis <[email protected]>:

> Hello again !
> Well, it works better (yes !!!) : I had to change my packaging to
> "pom" instead of "feature", and to add an execution block with a goal
> "features-generate-descriptor" to trigger the plugin.
> Now it takes the template that declares dependent features, filtering
> properties values for versions, and adds bundles for dependencies as
> expected.

Ok. The example features I posted, where from a project with packaging
jar (actually an OSGi bundle, but I use packaging jar and not bundle),
and that's where I use the karaf-maven-plugin to generate features and
attach them to the jar artifact.

I have "master feature files" for my projects, that have packaging pom.
But those feature files are hand-written and manually attached to the
pom artifact.

Example:
 https://github.com/steinarb/ukelonn/tree/master/karaf

I tried using the karaf-maven-plugin for this, but had issues with
feature file dependencies being added to the generated feature file,
instead of being referenced with <repository> and being depended on from
other features.

So I ended up with having handwritten high level features.

Reply via email to