2013-08-26 4 views
1

프로젝트 마스터 브랜치에서 내 브랜치로 큰 변경 사항을 병합 한 후 'mvn package site'로 구성된 CI 서버가 수행 한 빌드가 실패합니다 (' mvn 패키지 '는 잘 동작합니다.) 사이트 생성은 win7을 실행하는 로컬 개발 컴퓨터에서도 작동합니다.maven-site-plugin으로 사이트를 생성 할 때 빌드가 실패했습니다.

mavenExecutionResult exceptions not empty 
message : Failed to 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 to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site) on project pms-core: Error during page generation 
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) 
    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:84) 
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) 
    at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) 
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) 
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) 
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) 
    at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
    at java.lang.reflect.Method.invoke(Method.java:606) 
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) 
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) 
    at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158) 
    at hudson.maven.Maven3Builder.call(Maven3Builder.java:104) 
    at hudson.maven.Maven3Builder.call(Maven3Builder.java:70) 
    at hudson.remoting.UserRequest.perform(UserRequest.java:118) 
    at hudson.remoting.UserRequest.perform(UserRequest.java:48) 
    at hudson.remoting.Request$2.run(Request.java:287) 
    at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 
    at java.util.concurrent.FutureTask.run(FutureTask.java:166) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
    at java.lang.Thread.run(Thread.java:724) 
Caused by: org.apache.maven.plugin.MojoExecutionException: Error during page generation 
    at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:143) 
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) 
    at 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 - An error occurred during diagram generation: java.lang.IllegalStateException: Failed to find an insertion point. 
java.lang.IllegalStateException: Failed to find an insertion point. 
    at org.jboss.apiviz.APIviz.instrumentDiagram(APIviz.java:322) 
    at org.jboss.apiviz.APIviz.generateOverviewSummary(APIviz.java:187) 
    at org.jboss.apiviz.APIviz.start(APIviz.java:69) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
    at java.lang.reflect.Method.invoke(Method.java:606) 
    at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:280) 
    at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:160) 
    at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:397) 
    at com.sun.tools.javadoc.Start.begin(Start.java:167) 
    at com.sun.tools.javadoc.Main.execute(Main.java:59) 
    at 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 to the generated Javadoc files in '/scratch/jenkins/workspace/taconaut/pms-mlx/core/target/site/testapidocs' dir. 

    at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:233) 
    at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:319) 
    at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:135) 
    at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:175) 
    at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:138) 
    ... 29 more 
Caused by: org.apache.maven.reporting.MavenReportException: 
Exit code: 1 - javadoc: error - An error occurred during diagram generation: java.lang.IllegalStateException: Failed to find an insertion point. 
java.lang.IllegalStateException: Failed to find an insertion point. 
    at org.jboss.apiviz.APIviz.instrumentDiagram(APIviz.java:322) 
    at org.jboss.apiviz.APIviz.generateOverviewSummary(APIviz.java:187) 
    at org.jboss.apiviz.APIviz.start(APIviz.java:69) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
    at java.lang.reflect.Method.invoke(Method.java:606) 
    at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:280) 
    at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:160) 
    at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:397) 
    at com.sun.tools.javadoc.Start.begin(Start.java:167) 
    at com.sun.tools.javadoc.Main.execute(Main.java:59) 
    at 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 to the generated Javadoc files in '/scratch/jenkins/workspace/taconaut/pms-mlx/core/target/site/testapidocs' dir. 

    at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeJavadocCommandLine(AbstractJavadocMojo.java:4997) 
    at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:1975) 
    at org.apache.maven.plugin.javadoc.TestJavadocReport.executeReport(TestJavadocReport.java:160) 
    at org.apache.maven.plugin.javadoc.JavadocReport.generate(JavadocReport.java:126) 
    at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:228) 
    ... 33 more 
channel stopped 
: 받는다는 현장 - 플러그인 3.3

내가 받는다는 빌드의 끝에 표시 스택 추적에서 유용한 힌트를 찾을 수 없습니다 (3.0을 사용하여 다른 문제가 어디에 존재로)를 사용하고 있습니다

누군가 나를 올바른 방향으로 안내 할 수 있습니까? 이것은 maven-site-plugin의 버그입니까, 아니면 코드에 적용해야 할 것입니까?

Git 저장소 : CI https://github.com/taconaut/pms-mlx

을 : https://buildhive.cloudbees.com/job/taconaut/job/pms-mlx/

[업데이트] (이 문제로, 빌드 # 40 내가 작업 CI를 가지고 사이트 생성을 제거했기 때문에 실패 # 39를 구축) 인터넷 검색 '다이어그램 생성 중에 오류가 발생했습니다 : java.lang.IllegalStateException : 삽입 지점을 찾지 못했습니다.'라는 메시지가 표시되면 예외 소스가 apiviz library에 있습니다. 이게 내가 도서관 버그라고 생각하게 만들지, 그렇지?

답변

1

apiviz 라이브러리의 버전을 최신 버전으로 업데이트하면 문제가 해결되었습니다.