You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Chris Custine (JIRA)" <ji...@apache.org> on 2010/06/30 08:21:52 UTC
[jira] Resolved: (SM-1943) jbi-maven-plugin does not process a
jbi-services.xml file that has a comment node as the first root node
[ https://issues.apache.org/activemq/browse/SM-1943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Custine resolved SM-1943.
-------------------------------
Fix Version/s: jbi-maven-plugin-4.4
Resolution: Fixed
> 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
> Assignee: Chris Custine
> Priority: Minor
> Fix For: jbi-maven-plugin-4.4
>
> Attachments: jbi-maven-plugin-r938128.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.