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

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-346002747
 
 
   @sermojohn I don't see it worthwhile spending too much time on this as the 
jaxb2-maven-plugin team are working on supporting Java 9.
   An alternative way of fixing this issue is to add the namespace yourself via 
the maven-antrun-plugin. Here's the 
[diff](https://gist.github.com/johnpoth/83e5761a2f50da87fbc6abc370aa38fa) 
forked from your PR. I've tested it and tests run successfully on camel-spring 
and camel-spring-test projects. Let us know if it works on windows. Thanks!

----------------------------------------------------------------
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