karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Topping (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-1584) karaf-maven-plugin ignores provided scope on dependency
Date Fri, 22 Jun 2012 17:06:42 GMT
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

        

Mime
View raw message