camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: 2.14.0 build fails on camel-web (javadocs)
Date Thu, 25 Sep 2014 03:41:26 GMT
You can fix it by changing the line 372 of the pom.xml in camel-web
-                      ${project.build.outputDirectory}/resourcedoc.xml
+                      ${project.build.outputDirectory}${file.separator}resourcedoc.xml

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On September 24, 2014 at 12:48:54 AM, rickaroni (rgfanta@directv.com) wrote:
> Looks like the author of camel-web may be assuming *nix paths.
>  
> I'm running this on Windows 7.
>  
> Here is the options file that gets generated (and put to
> \my_windoze_path\apache-camel-2.14.0\components\camel-web\target\site\apidocs.  
> Note the mixed path in the --output variable which IMO may be the answer.
>  
>  
> The end of the trace output from:
>  
> mvn -X clean install -Pspring4,fastinstall
>  
> can be found below as well.
>  
>  
>  
> -classpath
> 'C:/src.rgf/apache-camel-2.14.0/components/camel-web/target/classes;C:/Users/rfanta/.m2/repository/org/springframework/spring-beans/4.0.7.RELEASE/spring-beans-4.0.7.RELEASE.jar;C:/Users/rfanta/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.7/jaxb-impl-2.2.7.jar;C:/Users/rfanta/.m2/repository/org/springframework/spring-web/4.0.7.RELEASE/spring-web-4.0.7.RELEASE.jar;C:/Users/rfanta/.m2/repository/org/slf4j/slf4j-log4j12/1.7.7/slf4j-log4j12-1.7.7.jar;C:/Users/rfanta/.m2/repository/org/codehaus/jettison/jettison/1.3.5/jettison-1.3.5.jar;C:/Users/rfanta/.m2/repository/com/sun/jersey/jersey-atom/1.17.1/jersey-atom-1.17.1.jar;C:/src.rgf/apache-camel-2.14.0/tooling/apt/target/apt-2.14.0.jar;C:/Users/rfanta/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar;C:/Users/rfanta/.m2/repository/com/sun/jersey/jersey-server/1.17.1/jersey-server-1.17.1.jar;C:/Users/rfanta/.m2/repository/org/springframework/spring-tx/4.0.7.RELEASE/spring-tx-4.0.7.RELEASE.jar;C:/Users/rfanta/.m2/repository/org/scalatra/scalate/scalate-core_2.11/1.7.0/scalate-core_2.11-1.7.0.jar;C:/Users/rfanta/.m2/repository/com/sun/jersey/jersey-servlet/1.17.1/jersey-servlet-1.17.1.jar;C:/Users/rfanta/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar;C:/Users/rfanta/.m2/repository/com/sun/jersey/jersey-json/1.17.1/jersey-json-1.17.1.jar;C:/src.rgf/apache-camel-2.14.0/camel-core/target/camel-core-2.14.0.jar;C:/Users/rfanta/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar;C:/Users/rfanta/.m2/repository/org/slf4j/slf4j-api/1.6.6/slf4j-api-1.6.6.jar;C:/Users/rfanta/.m2/repository/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar;C:/Users/rfanta/.m2/repository/javax/xml/bind/jaxb-api/2.2.7/jaxb-api-2.2.7.jar;C:/src.rgf/apache-camel-2.14.0/components/camel-spring/target/camel-spring-2.14.0.jar;C:/Users/rfanta/.m2/repository/org/springframework/spring-expression/4.0.7.RELEASE/spring-expression-4.0.7.RELEASE.jar;C:/Users/rfanta/.m2/repository/com/sun/xml/fastinfoset/FastInfoset/1.2.12/FastInfoset-1.2.12.jar;C:/Users/rfanta/.m2/repository/org/scala-lang/scala-reflect/2.11.2/scala-reflect-2.11.2.jar;C:/Users/rfanta/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.12/jackson-mapper-asl-1.9.12.jar;C:/Users/rfanta/.m2/repository/org/scala-lang/scala-library/2.11.2/scala-library-2.11.2.jar;C:/Users/rfanta/.m2/repository/com/sun/jersey/contribs/jersey-spring/1.17.1/jersey-spring-1.17.1.jar;C:/Users/rfanta/.m2/repository/com/sun/istack/istack-commons-runtime/2.16/istack-commons-runtime-2.16.jar;C:/Users/rfanta/.m2/repository/org/springframework/spring-aop/4.0.7.RELEASE/spring-aop-4.0.7.RELEASE.jar;C:/Users/rfanta/.m2/repository/org/scalatra/scalate/scalate-util_2.11/1.7.0/scalate-util_2.11-1.7.0.jar;C:/Users/rfanta/.m2/repository/org/scala-lang/modules/scala-parser-combinators_2.11/1.0.2/scala-parser-combinators_2.11-1.0.2.jar;C:/Users/rfanta/.m2/repository/org/springframework/spring-context/4.0.7.RELEASE/spring-context-4.0.7.RELEASE.jar;C:/Users/rfanta/.m2/repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar;C:/Users/rfanta/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.9.12/jackson-jaxrs-1.9.12.jar;C:/Users/rfanta/.m2/repository/com/sun/jersey/jersey-core/1.17.1/jersey-core-1.17.1.jar;C:/Users/rfanta/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.12/jackson-core-asl-1.9.12.jar;C:/Users/rfanta/.m2/repository/org/scala-lang/modules/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar;C:/Users/rfanta/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar;C:/Users/rfanta/.m2/repository/com/sun/xml/bind/jaxb-core/2.2.7/jaxb-core-2.2.7.jar;C:/Users/rfanta/.m2/repository/org/codehaus/jackson/jackson-xc/1.9.12/jackson-xc-1.9.12.jar;C:/Users/rfanta/.m2/repository/org/scala-lang/scala-compiler/2.11.2/scala-compiler-2.11.2.jar;C:/Users/rfanta/.m2/repository/org/springframework/spring-core/4.0.7.RELEASE/spring-core-4.0.7.RELEASE.jar;C:/src.rgf/apache-camel-2.14.0/tooling/spi-annotations/target/spi-annotations-2.14.0.jar;C:/Users/rfanta/.m2/repository/asm/asm/3.1/asm-3.1.jar'
 
> -doclet
> 'com.sun.jersey.wadl.resourcedoc.ResourceDoclet'
> -docletpath
> 'C:/Users/rfanta/.m2/repository/com/sun/jersey/contribs/maven-wadl-plugin/1.17.1/maven-wadl-plugin-1.17.1.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/maven-plugin-registry/2.0.9/maven-plugin-registry-2.0.9.jar;C:/Users/rfanta/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/maven-core/2.0.9/maven-core-2.0.9.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-10/doxia-sink-api-1.0-alpha-10.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/maven-toolchain/2.0.9/maven-toolchain-2.0.9.jar;C:/Users/rfanta/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/apache-maven/2.0.9/apache-maven-2.0.9.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/maven-project/2.0.9/maven-project-2.0.9.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/maven-repository-metadata/2.0.9/maven-repository-metadata-2.0.9.jar;C:/Users/rfanta/.m2/repository/com/sun/jersey/jersey-server/1.17.1/jersey-server-1.17.1.jar;C:/Users/rfanta/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar;C:/Users/rfanta/.m2/repository/com/sun/jersey/jersey-servlet/1.17.1/jersey-servlet-1.17.1.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.jar;C:/Users/rfanta/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/maven-profile/2.0.9/maven-profile-2.0.9.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.9/maven-reporting-api-2.0.9.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/maven-monitor/2.0.9/maven-monitor-2.0.9.jar;C:/Users/rfanta/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/maven-plugin-descriptor/2.0.9/maven-plugin-descriptor-2.0.9.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/maven-model/2.0.9/maven-model-2.0.9.jar;C:/Users/rfanta/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/wagon/wagon-http-lightweight/1.0-beta-2/wagon-http-lightweight-1.0-beta-2.jar;C:/Users/rfanta/.m2/repository/jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar;C:/Users/rfanta/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar;C:/Users/rfanta/.m2/repository/classworlds/classworlds/1.1/classworlds-1.1.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/maven-error-diagnostics/2.0.9/maven-error-diagnostics-2.0.9.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/maven-settings/2.0.9/maven-settings-2.0.9.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/wagon/wagon-ssh-external/1.0-beta-2/wagon-ssh-external-1.0-beta-2.jar;C:/Users/rfanta/.m2/repository/com/jcraft/jsch/0.1.27/jsch-0.1.27.jar;C:/Users/rfanta/.m2/repository/commons-httpclient/commons-httpclient/2.0.2/commons-httpclient-2.0.2.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/wagon/wagon-file/1.0-beta-2/wagon-file-1.0-beta-2.jar;C:/Users/rfanta/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.jar;C:/Users/rfanta/.m2/repository/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.jar;C:/Users/rfanta/.m2/repository/com/sun/jersey/jersey-core/1.17.1/jersey-core-1.17.1.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/maven-artifact-manager/2.0.9/maven-artifact-manager-2.0.9.jar;C:/Users/rfanta/.m2/repository/xerces/xercesImpl/2.6.1/xercesImpl-2.6.1.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/maven-artifact/2.0.9/maven-artifact-2.0.9.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/wagon/wagon-http-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/wagon/wagon-ssh-common/1.0-beta-2/wagon-ssh-common-1.0-beta-2.jar;C:/Users/rfanta/.m2/repository/junit/junit/4.8.2/junit-4.8.2.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/maven-plugin-parameter-documenter/2.0.9/maven-plugin-parameter-documenter-2.0.9.jar;C:/Users/rfanta/.m2/repository/org/apache/maven/wagon/wagon-ssh/1.0-beta-2/wagon-ssh-1.0-beta-2.jar;C:/Users/rfanta/.m2/repository/asm/asm/3.1/asm-3.1.jar;C:/Users/rfanta/.m2/repository/com/sun/jersey/contribs/wadl-resourcedoc-doclet/1.17.1/wadl-resourcedoc-doclet-1.17.1.jar;C:/Users/rfanta/.m2/repository/com/sun/jersey/jersey-server/1.17.1/jersey-server-1.17.1.jar;C:/Users/rfanta/.m2/repository/com/sun/jersey/jersey-core/1.17.1/jersey-core-1.17.1.jar;C:/Users/rfanta/.m2/repository/com/sun/jersey/jersey-servlet/1.17.1/jersey-servlet-1.17.1.jar;C:/Users/rfanta/.m2/repository/xerces/xercesImpl/2.6.1/xercesImpl-2.6.1.jar;C:/Users/rfanta/.m2/repository/asm/asm/3.1/asm-3.1.jar;C:/Users/rfanta/.m2/repository/com/sun/jersey/jersey-server/1.17.1/jersey-server-1.17.1.jar;C:/Users/rfanta/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar;C:/Users/rfanta/.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar;C:/Users/rfanta/.m2/repository/com/sun/jersey/jersey-core/1.17.1/jersey-core-1.17.1.jar;C:/Users/rfanta/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar;C:/Users/rfanta/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar;C:/Users/rfanta/.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar;C:/Users/rfanta/.m2/repository/org/osgi/osgi_R4_core/1.0/osgi_R4_core-1.0.jar;C:/Users/rfanta/.m2/repository/commons-io/commons-io/1.3.2/commons-io-1.3.2.jar;C:/Users/rfanta/.m2/repository/junit/junit/4.8.2/junit-4.8.2.jar;C:/Users/rfanta/.m2/repository/asm/asm/3.1/asm-3.1.jar;C:/Users/rfanta/.m2/repository/xerces/xercesImpl/2.11.0/xercesImpl-2.11.0.jar;C:/Users/rfanta/.m2/repository/xml-resolver/xml-resolver/1.2/xml-resolver-1.2.jar;C:/Users/rfanta/.m2/repository/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar;C:/Users/rfanta/.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar;C:/Users/rfanta/.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar;C:/Users/rfanta/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar;C:/Users/rfanta/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.7/jaxb-impl-2.2.7.jar;C:/Users/rfanta/.m2/repository/javax/xml/bind/jaxb-api/2.2.7/jaxb-api-2.2.7.jar;C:/Users/rfanta/.m2/repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar;C:/Users/rfanta/.m2/repository/com/sun/xml/fastinfoset/FastInfoset/1.2.12/FastInfoset-1.2.12.jar;C:/Users/rfanta/.m2/repository/com/sun/xml/bind/jaxb-core/2.2.7/jaxb-core-2.2.7.jar;C:/Users/rfanta/.m2/repository/com/sun/istack/istack-commons-runtime/2.16/istack-commons-runtime-2.16.jar;C:/Users/rfanta/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar'
 
> -encoding
> 'UTF-8'
> -public
> -quiet
> -source
> '1.6'
> -sourcepath
> 'C:/src.rgf/apache-camel-2.14.0/components/camel-web/src/main/java'
> -subpackages
> org.apache.camel.web.resources
> -output
>  
> C:\src.rgf\apache-camel-2.14.0\components\camel-web\target\classes/resourcedoc.xml  
>  
>  
>  
>  
>  
>  
>  
> INFO]
> ------------------------------------------------------------------------  
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------  
> [INFO] Total time: 03:59 min
> [INFO] Finished at: 2014-09-23T11:21:43-05:00
> [INFO] Final Memory: 261M/999M
> [INFO]
> ------------------------------------------------------------------------  
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:javadoc (default) on
> project camel-web: An error has occurred in JavaDocs report generation:
> [ERROR] Exit code: 1 - Sep 23, 2014 11:21:43 AM
> com.sun.jersey.wadl.resourcedoc.ResourceDoclet start
> [ERROR] SEVERE: Could not serialize ResourceDoc.
> [ERROR] java.lang.IllegalArgumentException
> [ERROR] at sun.net.www.ParseUtil.decode(ParseUtil.java:202)
> [ERROR] at sun.misc.URLClassPath$FileLoader.(URLClassPath.java:1040)  
> [ERROR] at sun.misc.URLClassPath$3.run(URLClassPath.java:361)
> [ERROR] at sun.misc.URLClassPath$3.run(URLClassPath.java:356)
> [ERROR] at java.security.AccessController.doPrivileged(Native Method)
> [ERROR] at sun.misc.URLClassPath.getLoader(URLClassPath.java:355)
> [ERROR] at sun.misc.URLClassPath.getLoader(URLClassPath.java:332)
> [ERROR] at sun.misc.URLClassPath.findResource(URLClassPath.java:175)
> [ERROR] at java.net.URLClassLoader$2.run(URLClassLoader.java:557)
> [ERROR] at java.net.URLClassLoader$2.run(URLClassLoader.java:555)
> [ERROR] at java.security.AccessController.doPrivileged(Native Method)
> [ERROR] at java.net.URLClassLoader.findResource(URLClassLoader.java:554)
> [ERROR] at java.lang.ClassLoader.getResource(ClassLoader.java:1093)
> [ERROR] at
> javax.xml.bind.ContextFinder.loadJAXBProperties(ContextFinder.java:489)  
> [ERROR] at javax.xml.bind.ContextFinder.find(ContextFinder.java:382)
> [ERROR] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:641)
> [ERROR] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:584)
> [ERROR] at
> com.sun.jersey.wadl.resourcedoc.ResourceDoclet.start(ResourceDoclet.java:177)  
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ERROR] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
> [ERROR] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
> [ERROR] at java.lang.reflect.Method.invoke(Method.java:483)
> [ERROR] at
> com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:310)
> [ERROR] at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:189)  
> [ERROR] at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:366)
> [ERROR] at com.sun.tools.javadoc.Start.begin(Start.java:219)
> [ERROR] at com.sun.tools.javadoc.Start.begin(Start.java:205)
> [ERROR] at com.sun.tools.javadoc.Main.execute(Main.java:64)
> [ERROR] at com.sun.tools.javadoc.Main.main(Main.java:54)
> [ERROR]
> [ERROR]
> [ERROR] Command line was: C:\Apps\Java\jdk1.8.0_20\jre\..\bin\javadoc.exe
> @options
> [ERROR]
> [ERROR] Refer to the generated Javadoc files in
> 'C:\src.rgf\apache-camel-2.14.0\components\camel-web\target\site\apidocs'  
> dir.
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:javadoc (default)  
> on project camel-web: An error has occurred in JavaDocs report generation:
> Exit code: 1 - Sep 23, 2014 11:21:43 AM
> com.sun.jersey.wadl.resourcedoc.ResourceDoclet start
> SEVERE: Could not serialize ResourceDoc.
> java.lang.IllegalArgumentException
> at sun.net.www.ParseUtil.decode(ParseUtil.java:202)
> at sun.misc.URLClassPath$FileLoader.(URLClassPath.java:1040)
> at sun.misc.URLClassPath$3.run(URLClassPath.java:361)
> at sun.misc.URLClassPath$3.run(URLClassPath.java:356)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.misc.URLClassPath.getLoader(URLClassPath.java:355)
> at sun.misc.URLClassPath.getLoader(URLClassPath.java:332)
> at sun.misc.URLClassPath.findResource(URLClassPath.java:175)
> at java.net.URLClassLoader$2.run(URLClassLoader.java:557)
> at java.net.URLClassLoader$2.run(URLClassLoader.java:555)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findResource(URLClassLoader.java:554)
> at java.lang.ClassLoader.getResource(ClassLoader.java:1093)
> at javax.xml.bind.ContextFinder.loadJAXBProperties(ContextFinder.java:489)  
> at javax.xml.bind.ContextFinder.find(ContextFinder.java:382)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:641)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:584)
> at
> com.sun.jersey.wadl.resourcedoc.ResourceDoclet.start(ResourceDoclet.java:177)  
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
> at java.lang.reflect.Method.invoke(Method.java:483)
> at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:310)
> at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:189)
> at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:366)
> at com.sun.tools.javadoc.Start.begin(Start.java:219)
> at com.sun.tools.javadoc.Start.begin(Start.java:205)
> at com.sun.tools.javadoc.Main.execute(Main.java:64)
> at com.sun.tools.javadoc.Main.main(Main.java:54)
>  
>  
> Command line was: C:\Apps\Java\jdk1.8.0_20\jre\..\bin\javadoc.exe @options
>  
> Refer to the generated Javadoc files in
> 'C:\src.rgf\apache-camel-2.14.0\components\camel-web\target\site\apidocs'  
> dir.
>  
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)  
> 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:108)
 
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
 
> at
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
 
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
 
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
> at java.lang.reflect.Method.invoke(Method.java:483)
> 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.apache.maven.plugin.MojoExecutionException: An error has
> occurred in JavaDocs report generation:
> Exit code: 1 - Sep 23, 2014 11:21:43 AM
> com.sun.jersey.wadl.resourcedoc.ResourceDoclet start
> SEVERE: Could not serialize ResourceDoc.
> java.lang.IllegalArgumentException
> at sun.net.www.ParseUtil.decode(ParseUtil.java:202)
> at sun.misc.URLClassPath$FileLoader.(URLClassPath.java:1040)
> at sun.misc.URLClassPath$3.run(URLClassPath.java:361)
> at sun.misc.URLClassPath$3.run(URLClassPath.java:356)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.misc.URLClassPath.getLoader(URLClassPath.java:355)
> at sun.misc.URLClassPath.getLoader(URLClassPath.java:332)
> at sun.misc.URLClassPath.findResource(URLClassPath.java:175)
> at java.net.URLClassLoader$2.run(URLClassLoader.java:557)
> at java.net.URLClassLoader$2.run(URLClassLoader.java:555)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findResource(URLClassLoader.java:554)
> at java.lang.ClassLoader.getResource(ClassLoader.java:1093)
> at javax.xml.bind.ContextFinder.loadJAXBProperties(ContextFinder.java:489)  
> at javax.xml.bind.ContextFinder.find(ContextFinder.java:382)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:641)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:584)
> at
> com.sun.jersey.wadl.resourcedoc.ResourceDoclet.start(ResourceDoclet.java:177)  
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
> at java.lang.reflect.Method.invoke(Method.java:483)
> at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:310)
> at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:189)
> at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:366)
> at com.sun.tools.javadoc.Start.begin(Start.java:219)
> at com.sun.tools.javadoc.Start.begin(Start.java:205)
> at com.sun.tools.javadoc.Main.execute(Main.java:64)
> at com.sun.tools.javadoc.Main.main(Main.java:54)
>  
>  
> Command line was: C:\Apps\Java\jdk1.8.0_20\jre\..\bin\javadoc.exe @options
>  
> Refer to the generated Javadoc files in
> 'C:\src.rgf\apache-camel-2.14.0\components\camel-web\target\site\apidocs'  
> dir.
>  
> at
> org.apache.maven.plugin.javadoc.AbstractJavadocMojo.failOnError(AbstractJavadocMojo.java:5913)
 
> at
> org.apache.maven.plugin.javadoc.JavadocReport.execute(JavadocReport.java:319)  
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
 
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)  
> ... 19 more
> Caused by: org.apache.maven.reporting.MavenReportException:
> Exit code: 1 - Sep 23, 2014 11:21:43 AM
> com.sun.jersey.wadl.resourcedoc.ResourceDoclet start
> SEVERE: Could not serialize ResourceDoc.
> java.lang.IllegalArgumentException
> at sun.net.www.ParseUtil.decode(ParseUtil.java:202)
> at sun.misc.URLClassPath$FileLoader.(URLClassPath.java:1040)
> at sun.misc.URLClassPath$3.run(URLClassPath.java:361)
> at sun.misc.URLClassPath$3.run(URLClassPath.java:356)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.misc.URLClassPath.getLoader(URLClassPath.java:355)
> at sun.misc.URLClassPath.getLoader(URLClassPath.java:332)
> at sun.misc.URLClassPath.findResource(URLClassPath.java:175)
> at java.net.URLClassLoader$2.run(URLClassLoader.java:557)
> at java.net.URLClassLoader$2.run(URLClassLoader.java:555)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findResource(URLClassLoader.java:554)
> at java.lang.ClassLoader.getResource(ClassLoader.java:1093)
> at javax.xml.bind.ContextFinder.loadJAXBProperties(ContextFinder.java:489)  
> at javax.xml.bind.ContextFinder.find(ContextFinder.java:382)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:641)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:584)
> at
> com.sun.jersey.wadl.resourcedoc.ResourceDoclet.start(ResourceDoclet.java:177)  
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
> at java.lang.reflect.Method.invoke(Method.java:483)
> at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:310)
> at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:189)
> at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:366)
> at com.sun.tools.javadoc.Start.begin(Start.java:219)
> at com.sun.tools.javadoc.Start.begin(Start.java:205)
> at com.sun.tools.javadoc.Main.execute(Main.java:64)
> at com.sun.tools.javadoc.Main.main(Main.java:54)
>  
>  
> Command line was: C:\Apps\Java\jdk1.8.0_20\jre\..\bin\javadoc.exe @options
>  
> Refer to the generated Javadoc files in
> 'C:\src.rgf\apache-camel-2.14.0\components\camel-web\target\site\apidocs'  
> dir.
>  
> at
> org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeJavadocCommandLine(AbstractJavadocMojo.java:5074)
 
> at
> org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:1999)
> at
> org.apache.maven.plugin.javadoc.JavadocReport.generate(JavadocReport.java:130)  
> at
> org.apache.maven.plugin.javadoc.JavadocReport.execute(JavadocReport.java:315)  
> ... 21 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  
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn -rf :camel-web
>  
>  
>  
> --
> View this message in context: http://camel.465427.n5.nabble.com/2-14-0-build-fails-on-camel-web-javadocs-tp5756866p5756912.html
 
> Sent from the Camel - Users mailing list archive at Nabble.com.
>  


Mime
View raw message