Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
maven-scr-plugin 1.20.0
-
None
Description
The ServiceComponent xml file generated by maven-scr-plugin does not conform to the declared XML Schema Definition "http://www.osgi.org/xmlns/scr/v1.0.0". Same for other specVersions ("http://www.osgi.org/xmlns/scr/v1.1.0" and "http://www.osgi.org/xmlns/scr/v1.2.0").
The file is generated with root element "components", e.g.,
<?xml version="1.0" encoding="UTF-8"?><components xmlns:scr="http://www.osgi.org/xmlns/scr/v1.0.0">
<scr:component> ...
</scr:component>
</components>
The XSD specifies the root element as "component".