commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Sadowski <gil...@harfang.homelinux.org>
Subject Re: [Math] maven: Problem with "clirr"
Date Thu, 26 Apr 2012 12:42:47 GMT
Hi.

> > [...]
> > Here the stack trace from maven output:
> > ---CUT---
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on
> > project commons-math3: Execution default-site of goal
> > org.apache.maven.plugins:maven-site-plugin:3.0:site failed: 780 -> [Help 1]
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> > goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on
> > project commons-math3: Execution default-site of goal
> > org.apache.maven.plugins:maven-site-plugin:3.0:site failed: 780
> >         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
> >         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.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> >         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> >         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:601)
> >         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> >         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> >         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> >         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-site
of goal org.apache.maven.plugins:maven-site-plugin:3.0:site failed: 780
> >         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
> >         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> >         ... 19 more
> > Caused by: java.lang.ArrayIndexOutOfBoundsException: 780
> >         at org.codehaus.mojo.clirr.AbstractClirrMojo.reportDiffs(AbstractClirrMojo.java:666)
> >         at org.codehaus.mojo.clirr.AbstractClirrMojo.reportDiffs(AbstractClirrMojo.java:679)
> >         at org.codehaus.mojo.clirr.AbstractClirrMojo.executeClirr(AbstractClirrMojo.java:263)
> >         at org.codehaus.mojo.clirr.ClirrReport.doReport(ClirrReport.java:243)
> >         at org.codehaus.mojo.clirr.ClirrReport.generate(ClirrReport.java:219)
> >         at org.codehaus.mojo.clirr.ClirrReport.generate(ClirrReport.java:355)
> >         at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:228)
> >         at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:317)
> >         at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:134)
> >         at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:175)
> >         at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:138)
> >         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> >         ... 20 more
> > ---CUT---
> > 
> > Does anyone have an idea of what can cause this?
> 
> Yep, that's a bug in the clirr-maven-plugin that was fixed in the latest
> release.
> Please use version 2.4 of clirr-maven-plugin.
>

Indeed, unless I'm mistaken, we use 2.3 (parent-24).
Shall we upgrade to avoid running into this bug?


Regards,
Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message