[ 
https://issues.apache.org/jira/browse/CAMEL-11942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16259455#comment-16259455
 ] 

ASF GitHub Bot commented on CAMEL-11942:
----------------------------------------

johnpoth commented on issue #2099: CAMEL-11942: Switched to jaxb2-maven-plugin 
for camel-spring schemagen
URL: https://github.com/apache/camel/pull/2099#issuecomment-345753394
 
 
   Unit tests are failing On Java 9. Looks like there is a problem with the 
generated schema:
   ```
   [ERROR] testWireTap(org.apache.camel.spring.xml.SpringXmlRouteBuilderTest)  
Time elapsed: 0.017 s  <<< ERROR!
   org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 
1 in XML document from class path resource 
[org/apache/camel/spring/xml/buildWireTap.xml] is invalid; nested exception is 
org.xml.sax.SAXParseException; systemId: 
http://camel.apache.org/schema/spring/camel-spring.xsd; lineNumber: 1; 
columnNumber: 242; s4s-elt-schema-ns: The namespace of element 'schema' must be 
from the schema namespace, 'http://www.w3.org/2001/XMLSchema'.
           at 
org.apache.camel.spring.xml.SpringXmlRouteBuilderTest.getRoutesFromContext(SpringXmlRouteBuilderTest.java:102)
           at 
org.apache.camel.spring.xml.SpringXmlRouteBuilderTest.buildWireTap(SpringXmlRouteBuilderTest.java:68)
   Caused by: org.xml.sax.SAXParseException: s4s-elt-schema-ns: The namespace 
of element 'schema' must be from the schema namespace, 
'http://www.w3.org/2001/XMLSchema'.
           at 
org.apache.camel.spring.xml.SpringXmlRouteBuilderTest.getRoutesFromContext(SpringXmlRouteBuilderTest.java:102)
           at 
org.apache.camel.spring.xml.SpringXmlRouteBuilderTest.buildWireTap(SpringXmlRouteBuilderTest.java:68)
   ```
   @sermojohn  can you reproduce? If this is another problem with the plugin 
you can try out the native schemagen which we use for 
[camel-blueprint](https://github.com/apache/camel/blob/master/components/camel-blueprint/pom.xml#L671)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> camel-spring build failure on windows
> -------------------------------------
>
>                 Key: CAMEL-11942
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11942
>             Project: Camel
>          Issue Type: Task
>          Components: build system
>    Affects Versions: 2.20.0
>            Reporter: Önder Sezgin
>            Priority: Minor
>             Fix For: 2.21.0
>
>
> [INFO] Executed tasks
> [INFO]
> [INFO] --- exec-maven-plugin:1.1.1:exec (generate schema) @ camel-spring ---
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 03:33 min
> [INFO] Finished at: 2017-10-24T10:27:33+03:00
> [INFO] Final Memory: 37M/240M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.1.1:exec 
> (g
> enerate schema) on project camel-spring: Command execution failed. Error 
> while e
> xecuting process. Cannot run program "cmd.exe" (in directory 
> "D:\dev\github\came
> l\components\camel-spring"): CreateProcess error=206, The filename or 
> extension
> is too long -> [Help 1]
> [ERROR]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to