>>>>> Steinar Bang <s...@dod.no>: >>>>> Michael Elbaz <michaelel...@outlook.fr>:
> Note that if you are piggy-backing karaf feature generation on your OSGi > bundles, then you can add feature run time dependencies like the one > about, by adding it as a compile scope (the default) maven dependency in > the pom. > (<scope>provided</scope> and <scope>test</scope> dependencies aren't > added to the karaf feature) I.e instead of having a <scope>provided</dependency> in the pom and a mvn: URL in the feature, just use <scope>compile</scope> (or no <scope> at all) and the mvn: URL will be generated. (SPI-Fly isn't one you need at compile time so probably a bad example...?)