Build failure when generating site with maven-site-plugin -
after having merged big set of changes projects master branch own branch, build performed ci server configured 'mvn package site' fails ('mvn package' works fine). site generation works on local development machine running win7. maven-site-plugin 3.3 being used (as there other issues using 3.0)
i can't find useful hint in stack trace shown @ end of maven build:
mavenexecutionresult exceptions not empty message : failed execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site) on project pms-core: error during page generation cause : error during page generation stack trace : org.apache.maven.lifecycle.lifecycleexecutionexception: failed execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site) on project pms-core: error during page generation @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:217) @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:153) @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:145) @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:84) @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:59) @ org.apache.maven.lifecycle.internal.lifecyclestarter.singlethreadedbuild(lifecyclestarter.java:183) @ org.apache.maven.lifecycle.internal.lifecyclestarter.execute(lifecyclestarter.java:161) @ org.apache.maven.defaultmaven.doexecute(defaultmaven.java:320) @ org.apache.maven.defaultmaven.execute(defaultmaven.java:156) @ org.jvnet.hudson.maven3.launcher.maven3launcher.main(maven3launcher.java:79) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ org.codehaus.plexus.classworlds.launcher.launcher.launchstandard(launcher.java:329) @ org.codehaus.plexus.classworlds.launcher.launcher.launch(launcher.java:239) @ org.jvnet.hudson.maven3.agent.maven3main.launch(maven3main.java:158) @ hudson.maven.maven3builder.call(maven3builder.java:104) @ hudson.maven.maven3builder.call(maven3builder.java:70) @ hudson.remoting.userrequest.perform(userrequest.java:118) @ hudson.remoting.userrequest.perform(userrequest.java:48) @ hudson.remoting.request$2.run(request.java:287) @ hudson.remoting.interceptingexecutorservice$1.call(interceptingexecutorservice.java:72) @ java.util.concurrent.futuretask$sync.innerrun(futuretask.java:334) @ java.util.concurrent.futuretask.run(futuretask.java:166) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) @ java.lang.thread.run(thread.java:724) caused by: org.apache.maven.plugin.mojoexecutionexception: error during page generation @ org.apache.maven.plugins.site.sitemojo.execute(sitemojo.java:143) @ org.apache.maven.plugin.defaultbuildpluginmanager.executemojo(defaultbuildpluginmanager.java:101) @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:209) ... 27 more caused by: org.apache.maven.doxia.siterenderer.rendererexception: error rendering maven report: exit code: 1 - javadoc: error - error occurred during diagram generation: java.lang.illegalstateexception: failed find insertion point. java.lang.illegalstateexception: failed find insertion point. @ org.jboss.apiviz.apiviz.instrumentdiagram(apiviz.java:322) @ org.jboss.apiviz.apiviz.generateoverviewsummary(apiviz.java:187) @ org.jboss.apiviz.apiviz.start(apiviz.java:69) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ com.sun.tools.javadoc.docletinvoker.invoke(docletinvoker.java:280) @ com.sun.tools.javadoc.docletinvoker.start(docletinvoker.java:160) @ com.sun.tools.javadoc.start.parseandexecute(start.java:397) @ com.sun.tools.javadoc.start.begin(start.java:167) @ com.sun.tools.javadoc.main.execute(main.java:59) @ com.sun.tools.javadoc.main.main(main.java:49) command line was: /opt/java/sdk/sun/x86_64/jdk1.7.0_25/jre/../bin/javadoc @options @packages refer generated javadoc files in '/scratch/jenkins/workspace/taconaut/pms-mlx/core/target/site/testapidocs' dir. @ org.apache.maven.plugins.site.reportdocumentrenderer.renderdocument(reportdocumentrenderer.java:233) @ org.apache.maven.doxia.siterenderer.defaultsiterenderer.rendermodule(defaultsiterenderer.java:319) @ org.apache.maven.doxia.siterenderer.defaultsiterenderer.render(defaultsiterenderer.java:135) @ org.apache.maven.plugins.site.sitemojo.renderlocale(sitemojo.java:175) @ org.apache.maven.plugins.site.sitemojo.execute(sitemojo.java:138) ... 29 more caused by: org.apache.maven.reporting.mavenreportexception: exit code: 1 - javadoc: error - error occurred during diagram generation: java.lang.illegalstateexception: failed find insertion point. java.lang.illegalstateexception: failed find insertion point. @ org.jboss.apiviz.apiviz.instrumentdiagram(apiviz.java:322) @ org.jboss.apiviz.apiviz.generateoverviewsummary(apiviz.java:187) @ org.jboss.apiviz.apiviz.start(apiviz.java:69) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ com.sun.tools.javadoc.docletinvoker.invoke(docletinvoker.java:280) @ com.sun.tools.javadoc.docletinvoker.start(docletinvoker.java:160) @ com.sun.tools.javadoc.start.parseandexecute(start.java:397) @ com.sun.tools.javadoc.start.begin(start.java:167) @ com.sun.tools.javadoc.main.execute(main.java:59) @ com.sun.tools.javadoc.main.main(main.java:49) command line was: /opt/java/sdk/sun/x86_64/jdk1.7.0_25/jre/../bin/javadoc @options @packages refer generated javadoc files in '/scratch/jenkins/workspace/taconaut/pms-mlx/core/target/site/testapidocs' dir. @ org.apache.maven.plugin.javadoc.abstractjavadocmojo.executejavadoccommandline(abstractjavadocmojo.java:4997) @ org.apache.maven.plugin.javadoc.abstractjavadocmojo.executereport(abstractjavadocmojo.java:1975) @ org.apache.maven.plugin.javadoc.testjavadocreport.executereport(testjavadocreport.java:160) @ org.apache.maven.plugin.javadoc.javadocreport.generate(javadocreport.java:126) @ org.apache.maven.plugins.site.reportdocumentrenderer.renderdocument(reportdocumentrenderer.java:228) ... 33 more channel stopped
can point me right direction? bug of maven-site-plugin or should adapt in code?
git repository: https://github.com/taconaut/pms-mlx
ci: https://buildhive.cloudbees.com/job/taconaut/job/pms-mlx/ (build #39 failed because of issue, build #40 i've removed site generation have working ci)
[update] googling message 'an error occurred during diagram generation: java.lang.illegalstateexception: failed find insertion point.', i've found source of exception in apiviz library. makes me think it's library bug, right?
the issue solved updating version of apiviz library latest version.
Comments
Post a Comment