The -pom instruction can be used to generate a pom in the bundle. The -maven-scope
instruction can be used to specify the default dependency scope to use when Bnd generates maven dependency information for a -buildpath entry that will be used to create a <dependency>
in the generated pom.
Also see the -maven-dependencies instruction for information on how to manualy configure the maven dependency information in a generated pom.
-maven-scope
defaults to the value compile
which is the default dependency scope for Maven.
Change the default dependency scope to provided
.
-maven-scope: provided