camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Poth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-10895) xmlbeans-maven-plugin fails on JAVA9
Date Mon, 06 Mar 2017 09:21:33 GMT

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

John Poth updated CAMEL-10895:
------------------------------
    Issue Type: Sub-task  (was: Task)
        Parent: CAMEL-10141

> xmlbeans-maven-plugin fails on JAVA9
> ------------------------------------
>
>                 Key: CAMEL-10895
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10895
>             Project: Camel
>          Issue Type: Sub-task
>            Reporter: John Poth
>            Priority: Minor
>
> To reproduce go to components/camel-xmlbeans and try to build.
> {code}
> warning: [options] bootstrap class path not set in conjunction with -source 1.4
> error: Source option 1.4 is no longer supported. Use 1.6 or later.
> error: Target option 1.4 is no longer supported. Use 1.6 or later.
> [ERROR] Failed to execute goal org.codehaus.mojo:xmlbeans-maven-plugin:2.3.3:xmlbeans-test
(generate-sources) on project camel-xmlbeans: XmlBeans compile failed:
> [ERROR] xml ErrorLoading schema file /home/jpoth/dev/git/apache/camel/components/camel-xmlbeans/src/test/resources/xsd/buyStocks.xsd
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:xmlbeans-maven-plugin:2.3.3:xmlbeans-test
(generate-sources) on project camel-xmlbeans: XmlBeans compile failed:
>  xml ErrorLoading schema file /home/jpoth/dev/git/apache/camel/components/camel-xmlbeans/src/test/resources/xsd/buyStocks.xsd
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
> 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.base/java.lang.reflect.Method.invoke(Method.java:543)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.codehaus.mojo.xmlbeans.XmlBeansException: XmlBeans compile failed:
>  xml ErrorLoading schema file /home/jpoth/dev/git/apache/camel/components/camel-xmlbeans/src/test/resources/xsd/buyStocks.xsd
> 	at org.codehaus.mojo.xmlbeans.AbstractXmlBeansPlugin.execute(AbstractXmlBeansPlugin.java:292)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
> 	... 20 more
> [ERROR] 
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message