Many thanks Kristian! I am currently dealing with another emergency but as soon as that is over I will track down the maven plugins directory and make the change.
I'll add the bug in JIRA as soon as I am able. Thanks again! Anthony On Thu, May 1, 2014 at 4:08 PM, Kristian Rosenvold < [email protected]> wrote: > I fixed the problem on trunk in dependency plugin. > > You should be able to modify the deps in your current version to work > around this, > but you need to mimic what I did in the actual fix: > > http://svn.apache.org/viewvc?view=revision&revision=1591759 > > Kristian > > > > 2014-05-01 21:25 GMT+02:00 Kristian Rosenvold < > [email protected]> > : > > > It turns out dependency plugin is using an old version of doxia (version > > 1.0, latest released is 1.4) that has known thread safety issues. You > > *might* be able to work around this by adding the following dependencies > to > > the dependency-plugin in your pom: > > > > <dependency> > > <groupId>org.apache.maven.doxia</groupId> > > <artifactId>doxia-sink-api</artifactId> > > <version>1.4</version> > > </dependency> > > <dependency> > > <groupId>org.apache.maven.doxia</groupId> > > <artifactId>doxia-site-renderer</artifactId> > > <version>1.4</version> > > </dependency> > > > > See > > > http://blog.sonatype.com/2008/04/how-to-override-a-plugins-dependency-in-mavenifyou're > unfamiliar about how to do this. this might work, but might also > > bug out due to some incompatibility between 1.0 and 1.4 of doxia, I did > not > > try. > > > > > > > > Please file an issue under http://jira.codehaus.org/browse/MDEP > > > > > > Kristian > > > > > > > > 2014-05-01 16:00 GMT+02:00 Anthony Clark <[email protected]>: > > > > Hi All, > >> > >> I'm trying to improve our build by using parallel threads (i.e. mvn -T > #) > >> > >> Unfortunately I'm running into an error when I try to use more than 9 > >> threads on this 24 core server: > >> > >> [ERROR] Failed to execute goal > >> org.apache.maven.plugins:maven-dependency-plugin:2.8:analyze-report > >> (analyze-report) > >> on project enterprise-provided: An error has occurred in Dependency > >> Analysis report generation. Could not find the > >> template 'org/apache/maven/doxia/siterenderer/resources/default-site.vm > >> -> > >> [Help 1] > >> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > execute > >> goal org.apache.maven.plugins:maven-depen > >> dency-plugin:2.8:analyze-report (analyze-report) on project > >> enterprise-provided: An error has occurred in Dependenc > >> y Analysis report generation. > >> at > >> > >> > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) > >> 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:108) > >> at > >> > >> > org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuild > >> er.java:188) > >> at > >> > >> > org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuild > >> er.java:184) > >> at java.util.concurrent.FutureTask.run(FutureTask.java:262) > >> at > >> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > >> at java.util.concurrent.FutureTask.run(FutureTask.java:262) > >> 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:745) > >> Caused by: org.apache.maven.plugin.MojoExecutionException: An error has > >> occurred in Dependency Analysis report gene > >> ration. > >> at > >> > >> > org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:106) > >> at > >> > >> > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133) > >> at > >> > >> > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > >> ... 11 more > >> Caused by: org.apache.maven.doxia.siterenderer.RendererException: Could > >> not > >> find the template > >> 'org/apache/maven/doxia/siterenderer/resources/default-site.vm > >> at > >> > >> > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.processTemplate(DefaultSiteRenderer.java:537) > >> at > >> > >> > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.writeTemplate(DefaultSiteRenderer.java:508) > >> at > >> > >> > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.generateDocument(DefaultSiteRenderer.java:485) > >> at > >> > >> > org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:97) > >> ... 13 more > >> [INFO] No sources to compile > >> > >> Has anyone run into this before? I searched the JIRA for the dependency > >> plugin and didn't find anything related to this. > >> > >> Thanks, > >> > >> Anthony Clark (sysadmin tasked with improving a build!) > >> > > > > >
