You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Carsten Ziegeler <cz...@apache.org> on 2008/08/19 08:42:53 UTC
Re: maven-scr-plugin with org.eclipse.equinox.ds
Heibel, Niklas wrote:
> Hi all,
>
> I am currently working with the maven-bundle-plugin to generate the MANIFFEST.MF and the maven-scr-plugin to generate the Declarative Services XML File (serviceComponents.xml) for my OSGi Application. As Runtime Environment I use equinox and org.eclipse.equinox.ds for the Declarative Services Component.
>
> When I remove by Hand the "components"-Tag and the Namespace from the serviceComponents.xml org.eclipse.equinox.ds can handle these files.
>
> Is there an Option to remove the Tag and the Namespace Automatically? Maybe an XSL Transformations Plugin for maven.
>
Hi,
no there isn't such an option. Afaik the xml generated by the scr plugin
is conforming to the spec. The root element is required to generate a
valid xml file and the namespace is required if you have more than one
component.
What version of equinox.ds are you using?
Carsten
--
Carsten Ziegeler
cziegeler@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org