AddFeaturesToRepoMojo should support read version from dependency features
features-maven-plugin collects wrong artifacts
I believe KARAF-2791 already fixed this
Thanks for the update. I'm adding itests on the karaf-maven-plugin to validate and fix the behaviour.
can be easily reproduced with openjpa (enterprise-) feature. It contains 2.2.2 and 2.3.0. If your feature references openjpa/2.2.2 the openjpa/2.3.0 gets placed into the assembly...
From a quick glance at the source, I think that you are right. When resolving transitive features the version is not taken into account.