[ https://issues.apache.org/jira/browse/MSITE-770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MSITE-770. -------------------------------- Resolution: Incomplete No minimal project provided. > Concurrent modification exception when running maven site report > ---------------------------------------------------------------- > > Key: MSITE-770 > URL: https://issues.apache.org/jira/browse/MSITE-770 > Project: Maven Site Plugin > Issue Type: Bug > Reporter: David J. M. Karlsen > > {noformat} > 10:28:35 [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-site-plugin:3.5:site (default-site) on project > jfr-srv: Execution default-site of goal > org.apache.maven.plugins:maven-site-plugin:3.5:site failed. > ConcurrentModificationException -> [Help 1] > 10:28:35 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > execute goal org.apache.maven.plugins:maven-site-plugin:3.5:site > (default-site) on project jfr-srv: Execution default-site of goal > org.apache.maven.plugins:maven-site-plugin:3.5:site failed. > 10:28:35 at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) > 10:28:35 at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) > 10:28:35 at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) > 10:28:35 at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) > 10:28:35 at > org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185) > 10:28:35 at > org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181) > 10:28:35 at java.util.concurrent.FutureTask.run(FutureTask.java:266) > 10:28:35 at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > 10:28:35 at java.util.concurrent.FutureTask.run(FutureTask.java:266) > 10:28:35 at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > 10:28:35 at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > 10:28:35 at java.lang.Thread.run(Thread.java:745) > 10:28:35 Caused by: org.apache.maven.plugin.PluginExecutionException: > Execution default-site of goal > org.apache.maven.plugins:maven-site-plugin:3.5:site failed. > 10:28:35 at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) > 10:28:35 at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) > 10:28:35 ... 11 more > 10:28:35 Caused by: java.util.ConcurrentModificationException > 10:28:35 at > java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901) > 10:28:35 at java.util.ArrayList$Itr.next(ArrayList.java:851) > 10:28:35 at > org.apache.maven.report.projectinfo.PluginManagementReport$PluginManagementRenderer.renderSectionPluginManagement(PluginManagementReport.java:204) > 10:28:35 at > org.apache.maven.report.projectinfo.PluginManagementReport$PluginManagementRenderer.renderBody(PluginManagementReport.java:189) > 10:28:35 at > org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:83) > 10:28:35 at > org.apache.maven.report.projectinfo.PluginManagementReport.executeReport(PluginManagementReport.java:83) > 10:28:35 at > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:255) > 10:28:35 at > org.apache.maven.plugins.site.render.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:227) > 10:28:35 at > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:330) > 10:28:35 at > org.apache.maven.plugins.site.render.SiteMojo.renderLocale(SiteMojo.java:181) > 10:28:35 at > org.apache.maven.plugins.site.render.SiteMojo.execute(SiteMojo.java:135) > 10:28:35 at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) > 10:28:35 ... 12 more > 10:28:35 [ERROR] > 10:28:35 [ERROR] Re-run Maven using the -X switch to enable full debug > logging. > 10:28:35 [ERROR] > 10:28:35 [ERROR] For more information about the errors and possible > solutions, please read the following articles: > 10:28:35 [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException > {noformat} > My pom: > {noformat} > <profile> > <!-- common reporting to be shared amon projects --> > <id>parent-reports</id> > <reporting> > <plugins> > <!-- these two don't work well and > are not crucial - skip > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>jdepend-maven-plugin</artifactId> > <version>2.0</version> > </plugin> > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-dependency-plugin</artifactId> > > <version>${maven.dependency.plugin.version}</version> > </plugin> > --> > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-pmd-plugin</artifactId> > <version>3.6</version> > <configuration> > > <targetJdk>${project.build.java.target}</targetJdk> > </configuration> > </plugin> > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>findbugs-maven-plugin</artifactId> > <version>3.0.3</version> > <configuration> > > <findbugsXmlOutput>true</findbugsXmlOutput> > > <findbugsXmlWithMessages>true</findbugsXmlWithMessages> > > <xmlOutput>true</xmlOutput> > </configuration> > </plugin> > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-surefire-report-plugin</artifactId> > > <version>${surefire.version}</version> > <reportSets> > <reportSet> > <reports> > > <report>report-only</report> > </reports> > </reportSet> > </reportSets> > </plugin> > <plugin> > <groupId>org.owasp</groupId> > > <artifactId>dependency-check-maven</artifactId> > > <version>${owasp.plugin.version}</version> > <reportSets> > <reportSet> > <reports> > > <report>aggregate</report> > </reports> > </reportSet> > </reportSets> > <configuration> > > <nexusAnalyzerEnabled>true</nexusAnalyzerEnabled> > > <nexusUrl>OURNEXUSURL/nexus/service/local/</nexusUrl> > </configuration> > </plugin> > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-changelog-plugin</artifactId> > <version>2.3</version> > <configuration> > > <issueLinkUrl>OURJIRAURL</issueLinkUrl> > </configuration> > </plugin> > </plugins> > </reporting> > </profile> > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)