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

Michael Brohl commented on OFBIZ-11133:
---------------------------------------

Documentation generation seems to be broken in latest trunk, can someone 
confirm this?
{noformat}
 
> Task :generateOfbizDocumentation FAILED Exception in thread "main" 
> java.lang.ClassNotFoundException: 
> com.google.common.collect.ImmutableSet$SerializedForm     at 
> java.net.URLClassLoader.findClass(URLClassLoader.java:381)     at 
> java.lang.ClassLoader.loadClass(ClassLoader.java:424)     at 
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)     at 
> java.lang.ClassLoader.loadClass(ClassLoader.java:357)     at 
> java.lang.Class.forName0(Native Method)     at 
> java.lang.Class.forName(Class.java:348)     at 
> java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:683)     at 
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1863)     
> at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1746)     
> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2037)  
>    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1568)     
> at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2282)   
>   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2206)    
>  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2064) 
>     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1568)     
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:428)     at 
> java.util.ArrayList.readObject(ArrayList.java:797)     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:498)     at 
> java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1158)     
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2173)     
> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2064)  
>    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1568)     
> at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2282)   
>   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2206)    
>  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2064) 
>     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1568)     
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:428)     at 
> org.asciidoctor.gradle.remote.AsciidoctorJavaExec$_main_closure5$_closure6.doCall(AsciidoctorJavaExec.groovy:124)
>      at 
> org.asciidoctor.gradle.remote.AsciidoctorJavaExec$_main_closure5$_closure6.call(AsciidoctorJavaExec.groovy)
>      at 
> org.codehaus.groovy.runtime.IOGroovyMethods.withCloseable(IOGroovyMethods.java:1614)
>      at 
> org.asciidoctor.gradle.remote.AsciidoctorJavaExec$_main_closure5.doCall(AsciidoctorJavaExec.groovy:123)
>      at 
> org.asciidoctor.gradle.remote.AsciidoctorJavaExec$_main_closure5.call(AsciidoctorJavaExec.groovy)
>      at 
> org.codehaus.groovy.runtime.IOGroovyMethods.withStream(IOGroovyMethods.java:1191)
>      at 
> org.codehaus.groovy.runtime.ResourceGroovyMethods.withInputStream(ResourceGroovyMethods.java:1878)
>      at 
> org.asciidoctor.gradle.remote.AsciidoctorJavaExec.main(AsciidoctorJavaExec.groovy:122)
>  FAILURE: Build failed with an exception. * What went wrong: Execution failed 
> for task ':generateOfbizDocumentation'. > Process 'command 
> '/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/bin/java'' 
> finished with non-zero exit value 1 * Try: Run with --stacktrace option to 
> get the stack trace. Run with --info or --debug option to get more log 
> output. Run with --scan to get full insights. * Get more help at 
> https://help.gradle.org BUILD FAILED in 3s
{noformat}

> Resolve build.gradle warnings
> -----------------------------
>
>                 Key: OFBIZ-11133
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11133
>             Project: OFBiz
>          Issue Type: Improvement
>            Reporter: Michael Brohl
>            Assignee: Michael Brohl
>            Priority: Minor
>
> The Gradle build show several warnings which should be eliminated:
> {noformat}
>   - 'org.asciidoctor.convert' is deprecated. When you have time please switch 
> over to 'org.asciidoctor.jvm.convert'.
>   - jcenter() is no longer added by default. If you relied on this behaviour 
> in the past, please add jcenter() to the repositories block.
>   - You have used 'backends'. When upgrading you will need to: Use 
> outputOptions.setbackends{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to