jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: build error on trunk
Date Thu, 10 Jan 2013 12:53:29 GMT
On 2013-01-10 13:05, Jukka Zitting wrote:
> Hi,
>
> On Mon, Jan 7, 2013 at 3:06 PM, Jukka Zitting <jukka.zitting@gmail.com>wrote:
>
>> I assume the problem only occurs when you run "mvn eclipse:eclipse", not
>> on a normal build?
>>
>
> As of revision 1431306 also "mvn eclipse:eclipse" should work. I simplified
> the build setup a bit to avoid the troublesome construct.
>
> BR,
>
> Jukka Zitting

Thanks, that has fixed eclipse:eclipse. For javadoc:javadoc I now get:

[INFO] Oak Parent POM .................................... SUCCESS [0.546s]
[INFO] Oak Commons ....................................... SUCCESS [1.404s]
[INFO] Oak MicroKernel API ............................... SUCCESS [1.186s]
[INFO] Oak MicroKernel ................................... SUCCESS [3.931s]
[INFO] Oak MicroKernel Remoting .......................... SUCCESS [1.591s]
[INFO] Oak Mongo MicroKernel ............................. SUCCESS [3.666s]
[INFO] Oak Integration Tests for MicroKernel implementations  SUCCESS 
[1.638s]
[INFO] Oak Core .......................................... SUCCESS [10.452s]
[INFO] Oak JCR Binding ................................... SUCCESS [6.381s]
[INFO] Oak support for Apache Sling ...................... SUCCESS [2.730s]
[INFO] Oak HTTP Binding .................................. SUCCESS [1.388s]
[INFO] Oak Lucene ........................................ SUCCESS [1.794s]
[INFO] Oak Runnable Jar .................................. SUCCESS [1.420s]
[INFO] Oak Integration Tests for OSGi deployments ........ SUCCESS [0.281s]
[INFO] Oak Integration Tests ............................. SUCCESS [0.000s]
[INFO] Oak Performance Test Parent ....................... SUCCESS [0.015s]
[INFO] Oak Performance Test Utilities .................... SUCCESS [1.825s]
[INFO] Oak Performance Test .............................. SUCCESS [0.032s]
[INFO] Oak Performance Benchmark ......................... SUCCESS [0.000s]
[INFO] Jackrabbit Oak .................................... SUCCESS [0.015s]
[INFO] oak-mk-perf ....................................... FAILURE [1.966s]
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 43.477s
[INFO] Finished at: Thu Jan 10 13:50:50 CET 2013
[INFO] Final Memory: 22M/237M
[INFO] 
------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-javadoc-plugin:2.8:javadoc (default-cli) 
on project oak-mk-perf: An error has occurred in JavaDocs report generation:
[ERROR] Exit code: 1 - 
C:\projects\apache\jackrabbit\oak\trunk\oak-mk-perf\src\main\java\org\apache\jackrabbit\mk\util\MicroKernelConfigProvider.java:50:

warning - @return tag has no arguments.
[ERROR] 
C:\projects\apache\jackrabbit\oak\trunk\oak-mk-perf\src\main\java\org\apache\jackrabbit\mk\util\MicroKernelConfigProvider.java:31:

warning - @return tag has no arguments.
[ERROR] 
C:\projects\apache\jackrabbit\oak\trunk\oak-mk-perf\src\main\java\org\apache\jackrabbit\mk\util\MicroKernelConfigProvider.java:50:

warning - @param argument "resourcePath" is not a parameter name.
[ERROR] 
C:\projects\apache\jackrabbit\oak\trunk\oak-mk-perf\src\main\java\org\apache\jackrabbit\mk\util\MicroKernelOperation.java:43:

warning - @return tag has no arguments.
[ERROR] 
C:\projects\apache\jackrabbit\oak\trunk\oak-mk-perf\src\main\java\org\apache\jackrabbit\mk\util\MicroKernelOperation.java:43:

warning - @param argument "The" is not a parameter name.
[ERROR] 
org\apache\jackrabbit\mk\util\package-info.class(org\apache\jackrabbit\mk\util:package-info.class):

warning: Cannot find annotation method 'value()' in type 
'aQute.bnd.annotation.Version': class file for 
aQute.bnd.annotation.Version not found
[ERROR] 
org\apache\jackrabbit\mk\util\package-info.class(org\apache\jackrabbit\mk\util:package-info.class):

warning: Cannot find annotation method 'optional()' in type 
'aQute.bnd.annotation.Export': class file for 
aQute.bnd.annotation.Export not found
[ERROR] java.lang.ClassCastException: com.sun.tools.javadoc.ClassDocImpl 
cannot be cast to com.sun.javadoc.AnnotationTypeDoc
[ERROR] at 
com.sun.tools.javadoc.AnnotationDescImpl.annotationType(AnnotationDescImpl.java:46)
[ERROR] at 
com.sun.tools.doclets.formats.html.HtmlDocletWriter.getAnnotations(HtmlDocletWriter.java:1739)
[ERROR] at 
com.sun.tools.doclets.formats.html.HtmlDocletWriter.writeAnnotationInfo(HtmlDocletWriter.java:1713)
[ERROR] at 
com.sun.tools.doclets.formats.html.HtmlDocletWriter.writeAnnotationInfo(HtmlDocletWriter.java:1702)
[ERROR] at 
com.sun.tools.doclets.formats.html.HtmlDocletWriter.writeAnnotationInfo(HtmlDocletWriter.java:1672)
[ERROR] at 
com.sun.tools.doclets.formats.html.PackageWriterImpl.writePackageHeader(PackageWriterImpl.java:174)
[ERROR] at 
com.sun.tools.doclets.internal.toolkit.builders.PackageSummaryBuilder.buildPackageHeader(PackageSummaryBuilder.java:121)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[ERROR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
[ERROR] at 
com.sun.tools.doclets.internal.toolkit.builders.PackageSummaryBuilder.invokeMethod(PackageSummaryBuilder.java:81)
[ERROR] at 
com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90)
[ERROR] at 
com.sun.tools.doclets.internal.toolkit.builders.PackageSummaryBuilder.buildPackageDoc(PackageSummaryBuilder.java:106)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[ERROR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
[ERROR] at 
com.sun.tools.doclets.internal.toolkit.builders.PackageSummaryBuilder.invokeMethod(PackageSummaryBuilder.java:81)
[ERROR] at 
com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90)
[ERROR] at 
com.sun.tools.doclets.internal.toolkit.builders.PackageSummaryBuilder.build(PackageSummaryBuilder.java:92)
[ERROR] at 
com.sun.tools.doclets.formats.html.HtmlDoclet.generatePackageFiles(HtmlDoclet.java:183)
[ERROR] at 
com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:120)
[ERROR] at 
com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:64)
[ERROR] at 
com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:42)
[ERROR] at com.sun.tools.doclets.standard.Standard.start(Standard.java:23)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[ERROR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
[ERROR] at 
com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)
[ERROR] at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)
[ERROR] at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
[ERROR] at com.sun.tools.javadoc.Start.begin(Start.java:128)
[ERROR] at com.sun.tools.javadoc.Main.execute(Main.java:41)
[ERROR] at com.sun.tools.javadoc.Main.main(Main.java:31)
[ERROR] java.lang.ClassCastException: com.sun.tools.javadoc.ClassDocImpl 
cannot be cast to com.sun.javadoc.AnnotationTypeDoc
[ERROR] at 
com.sun.tools.javadoc.AnnotationDescImpl.annotationType(AnnotationDescImpl.java:46)
[ERROR] at 
com.sun.tools.doclets.internal.toolkit.util.ClassUseMapper.mapAnnotations(ClassUseMapper.java:439)
[ERROR] at 
com.sun.tools.doclets.internal.toolkit.util.ClassUseMapper.<init>(ClassUseMapper.java:180)
[ERROR] at 
com.sun.tools.doclets.formats.html.ClassUseWriter.generate(ClassUseWriter.java:109)
[ERROR] at 
com.sun.tools.doclets.formats.html.HtmlDoclet.generateOtherFiles(HtmlDoclet.java:92)
[ERROR] at 
com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:122)
[ERROR] at 
com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:64)
[ERROR] at 
com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:42)
[ERROR] at com.sun.tools.doclets.standard.Standard.start(Standard.java:23)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[ERROR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
[ERROR] at 
com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)
[ERROR] at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)
[ERROR] at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
[ERROR] at com.sun.tools.javadoc.Start.begin(Start.java:128)
[ERROR] at com.sun.tools.javadoc.Main.execute(Main.java:41)
[ERROR] at com.sun.tools.javadoc.Main.main(Main.java:31)
[ERROR]
[ERROR] Command line was: C:\usr\local\jdk16\jre\..\bin\javadoc.exe 
@options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in 
'C:\projects\apache\jackrabbit\oak\trunk\oak-mk-perf\target\site\apidocs' dir.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the 
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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 <goals> -rf :oak-mk-perf


...but that seems to be a Java bug 
(<http://bugs.sun.com/view_bug.do?bug_id=6442982>).

Best regards, Julian


Mime
View raw message