You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Brian Topping (JIRA)" <ji...@apache.org> on 2012/06/22 19:06:42 UTC
[jira] [Created] (KARAF-1584) karaf-maven-plugin ignores provided
scope on dependency
Brian Topping created KARAF-1584:
------------------------------------
Summary: karaf-maven-plugin ignores provided scope on dependency
Key: KARAF-1584
URL: https://issues.apache.org/jira/browse/KARAF-1584
Project: Karaf
Issue Type: Bug
Components: karaf-tooling
Affects Versions: 3.0.0.RC1
Reporter: Brian Topping
A dependency expressed in a project POM with {{provided}} scope should not be rendered in a features.xml by {{karaf-maven-plugin:features-generate-descriptor}}.
A good example of this is slf4j-api. A generated feature that lists that dependency will not load for some reason that doesn't particularly matter, but there needs to be a way to both express the dependency for compilation as well as not have the dependency listed in the feature. {{provided}} scope seems to be the most accurate way to do that.
The IT test in KARAF-1537 named test-aggregate-features demonstrates what I am talking about.
I'll submit a patch after KARAF-1537 is applied.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira