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

Lyndon Washington updated SM-1943:
----------------------------------

    Affects Version/s: jbi-maven-plugin-4.4
           Patch Info: [Patch Available]

> jbi-maven-plugin does not process a jbi-services.xml file that has a comment 
> node as the first root node
> --------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1943
>                 URL: https://issues.apache.org/activemq/browse/SM-1943
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 3.2.1, jbi-maven-plugin-4.3, jbi-maven-plugin-4.4
>         Environment: Linux jdk1.6
>            Reporter: Lyndon Washington
>            Priority: Minor
>         Attachments: jbi-services-xml-patch.txt
>
>
> 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>

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

Reply via email to