felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (FELIX-1225) factoryPid attribute of Designate elements for metatype data is not set
Date Fri, 12 Jun 2009 11:05:07 GMT

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

Felix Meschberger reopened FELIX-1225:

Thanks for this quick fix.

I just noticed, thata accroding to the MetaType spec, the pid attribute is required. Will
just fix it.

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

View raw message