[ 
https://issues.apache.org/jira/browse/KARAF-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Reed updated KARAF-1514:
---------------------------------

    Attachment: 0001-allow-ignoring-scope-provided-dependencies.patch

Here's a simple patch that implements that. It adds a configuration option 
"ignoreScopeProvided" which defaults to false.  If set true, it will skip 
<scope>provided</scope> dependencies when generating features.xml.

I would argue it should default to true (for reasons above) but I didn't want 
to break any existing behavior people might be relying upon.
                
> Improve feature file generation to be able to create features out of special 
> feature poms
> -----------------------------------------------------------------------------------------
>
>                 Key: KARAF-1514
>                 URL: https://issues.apache.org/jira/browse/KARAF-1514
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Christian Schneider
>         Attachments: 0001-allow-ignoring-scope-provided-dependencies.patch
>
>
> Currently we have no way to describe several features without having a 
> template feature file.
> To improve that we could describe a single feature as a pom which can depend 
> on other poms and jars. We could then create another pom for the feature file 
> which depends on the feature poms with scope feature. So the plugin would 
> know to create a feature for each pom of scope feature. 

--
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

        

Reply via email to