Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.2.1, jbi-maven-plugin-4.3, jbi-maven-plugin-4.4
-
None
-
Linux jdk1.6
-
Patch Available
Description
The jbi-maven-plugin is supposed to generate a jbi.xml file by analyzing a jbi-services.xml if one is present. If the structure of the file does not have the <services> node as the first child node, then the analysis fails and no service details are discovered.
In my file, we add a comment node before the services node, and that breaks the file analysis.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!--
========================================================================
Some Copyright and description text
========================================================================
-->
<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/jbi"
xmlns:wf="http://www.novell.com/provisioning/service">
<provides service-name="wf:ProvisioningService"
interface-name="wf:Provisioning"
endpoint-name="WFServiceEngine_JBIPort" />
</services>