You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2014/08/21 11:51:11 UTC
[jira] [Resolved] (FELIX-4596) Passing configuration values to the
maven-bundle-plugin
[ https://issues.apache.org/jira/browse/FELIX-4596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved FELIX-4596.
-------------------------------------
Resolution: Fixed
> Passing configuration values to the maven-bundle-plugin
> -------------------------------------------------------
>
> Key: FELIX-4596
> URL: https://issues.apache.org/jira/browse/FELIX-4596
> Project: Felix
> Issue Type: Improvement
> Components: Maven Bundle Plugin
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: maven-bundle-plugin-2.5.1
>
>
> It would be nice to have some mechanism to pass configuration values from another plugin to the maven bundle plugin, for example for the maven-scr-plugin as this one calculates (or adds to) the Service-Component and Include-Resource instructions. The current mechanism of passing project properties works only as long as there is no instruction for that value in the project pom (see FELIX-4595).
> Right now the mechanism to resolve the instructions is:
> 1. project properties
> 2. instruction configuration from the pom
> A simple solution would be to add
> 3. look for special prefixed project properties, like "Override-Service-Component" or "Extend-Service-Component". The project properties are searched for all props starting with this prefix and then override or extend the value.
--
This message was sent by Atlassian JIRA
(v6.2#6252)