You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Stuart McCulloch (JIRA)" <ji...@apache.org> on 2007/08/23 11:48:30 UTC
[jira] Resolved: (FELIX-343) Add "additional-Resource" option
[ https://issues.apache.org/jira/browse/FELIX-343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart McCulloch resolved FELIX-343.
------------------------------------
Resolution: Fixed
ok, I've gone with {maven-resources} for the moment, but this is real easy to change
new behaviour:
if Include-Resource is not set, the bundleplugin sets it to be the list of maven resource paths
if Include-Resource is set and doesn't contain {maven-resources} then it is passed unchanged
and a warning explains the default has been overridden, and how to use {maven-resources}
if Include-Resource is set and contains {maven-resources} then any occurrences of this string
are replaced with the list of maven resource paths and the combined string is passed to BND
> Add "additional-Resource" option
> --------------------------------
>
> Key: FELIX-343
> URL: https://issues.apache.org/jira/browse/FELIX-343
> Project: Felix
> Issue Type: Improvement
> Components: Maven Bundle Plugin
> Affects Versions: 1.0.0
> Reporter: Carsten Ziegeler
> Assignee: Stuart McCulloch
> Attachments: patch.txt
>
>
> The "Include-Resource" option is currently a all-or-nothing option which is directly forwarded to bnd. One can either use the default (the maven resource paths) or specify the whole paths oneself. In many cases it is more desirable to just provide additional paths to the default maven paths.
> Therefore I created a patch which adds an "addtional-Resource" property. The logic is as follows:
> - If Include-Resource is specified but no additional-Resource: Include-Resource is forwarded to bnd
> - If Include-Resource is specified and additional-Resource: Include-Resource+','+additionalResource is forwarded to bnd
> - if no Include-Resource is specified and no additional-Resource: maven resource paths are forwarded to bnd
> - if no Include-Resource is specified and additional-Resource is given: maven resource paths + additionalResource are forwarded to bnd.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.