I tried to build camel based on the latest source from svn, and it
failed. Following the instructions on the website I eventually got to
(note: -e is my own addition, hoping to get some more info about the
problem):

mvn -e -Dtest=false clean install
[...many lines of output...]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An error has occurred in JavaDocs report generation:Exit code: 1 - 
javadoc: error - invalid flag: -author

Command line was:C:\Programme\Develop\Java\1.5se\jre\..\bin\javadoc.exe 
-J-Xmx500m @options

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An error has occurred 
in JavaDocs report generation:Exit code: 1 - javadoc: error - invalid flag: 
-author

Command line was:C:\Programme\Develop\Java\1.5se\jre\..\bin\javadoc.exe 
-J-Xmx500m @options
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:584)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:500)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:479)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: An error has occurred
 in JavaDocs report generation:Exit code: 1 - javadoc: error - invalid flag: 
-author

Command line was:C:\Programme\Develop\Java\1.5se\jre\..\bin\javadoc.exe 
-J-Xmx500m @options
        at 
org.apache.maven.plugin.javadoc.JavadocReport.execute(JavadocReport.java:215)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
        ... 16 more
Caused by: org.apache.maven.reporting.MavenReportException: Exit code: 1 - 
javadoc: error - invalid flag: -author

Command line was:C:\Programme\Develop\Java\1.5se\jre\..\bin\javadoc.exe 
-J-Xmx500m @options
        at 
org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeJavadocCommandLine(AbstractJavadocMojo.java:4013)
        at 
org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:1593)
        at 
org.apache.maven.plugin.javadoc.JavadocReport.generate(JavadocReport.java:122)
        at 
org.apache.maven.plugin.javadoc.JavadocReport.execute(JavadocReport.java:209)
        ... 18 more

Does anyone have any ideas what might be up? (BTW, "-author" seems to be
perfectly valid to pass to javadoc, javadoc -help says
"Provided by Standard doclet:
-d <directory>                    Destination directory for output files
-use                              Create class and package usage pages
-version                          Include @version paragraphs
-author                           Include @author paragraphs"
amongst other things, so I don't know why it should complain about it.)
On the previous maven step I had some errors regarding checksums, but
this seems more basic than something related to those (and in any case,
no error was reported at the end of that, I just happened to see some
"flash" by as the process was going through).

Reply via email to