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 2009/06/12 12:18:07 UTC

[jira] Resolved: (FELIX-1225) factoryPid attribute of Designate elements for metatype data is not set

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

Carsten Ziegeler resolved FELIX-1225.
-------------------------------------

    Resolution: Fixed

I just committed a fix for this problem; please check and close this bug.
Thanks

> factoryPid attribute of Designate elements for metatype data is not set
> -----------------------------------------------------------------------
>
>                 Key: FELIX-1225
>                 URL: https://issues.apache.org/jira/browse/FELIX-1225
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven SCR Plugin
>    Affects Versions: maven-scr-plugin-1.2.0
>            Reporter: Felix Meschberger
>             Fix For: maven-scr-plugin-1.2.1
>
>
> The Maven SCR plugin currently only emits the pid attribute for Designate elements when MetaType files are written. According to Section 105.6.2, Use of the Designate Element, the Designate element should either contain a pid attribute or a factoryPid attribute (unless the Designate contains an Object element for consumption by the Configuration Admin to create a factory configuration instance.
> The fix is to emit either the factoryPid or the pid attribute depending on whether the component is a factory component or not.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.