Hello,
 
I encounter another problem with the site report generation, this time
with the Javadoc generation. When run by Continuum on one of our Unix
boxes, the site generation fails because the plugin seems to insisting
on /bin/bash. Bash is not installed on our production environment unix
boxes, but /bin/sh is. Can I configure the maven-javadoc-plugin so
/bin/sh is used instead? 

Embedded error: Error rendering Maven report: Unable to find javadoc
version: Error while executing process.
/bin/bash: not found
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error during
page generation
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:583)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:499)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:478)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:330)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:291)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:142)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error during
page generation
        at
org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:101)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:451)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:558)
        ... 16 more
Caused by: org.apache.maven.doxia.siterenderer.RendererException: Error
rendering Maven report: Unable to find javadoc version: Error while
executing process.
        at
org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(Repo
rtDocumentRenderer.java:149)
        at
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(Def
aultSiteRenderer.java:269)
        at
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSi
teRenderer.java:101)
        at
org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:129)
        at
org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:96)
        ... 18 more
Caused by: org.apache.maven.reporting.MavenReportException: Unable to
find javadoc version: Error while executing process.
        at
org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(Abstra
ctJavadocMojo.java:1093)
        at
org.apache.maven.plugin.javadoc.JavadocReport.generate(JavadocReport.jav
a:131)
        at
org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(Repo
rtDocumentRenderer.java:139)
        ... 22 more
Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error
while executing process.
        at
org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:652)
        at
org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(Command
LineUtils.java:102)
        at
org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(Command
LineUtils.java:89)
        at
org.apache.maven.plugin.javadoc.AbstractJavadocMojo.getJavadocVersion(Ab
stractJavadocMojo.java:2941)
        at
org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(Abstra
ctJavadocMojo.java:1085)
        ... 24 more
Caused by: java.io.IOException: /bin/bash: not found
        at java.lang.UNIXProcess.forkAndExec(Native Method)
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:52)
        at java.lang.Runtime.execInternal(Native Method)
        at java.lang.Runtime.exec(Runtime.java:566)
        at
org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:647)
        ... 28 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 26 seconds
[INFO] Finished at: Wed Aug 20 15:17:12 CEST 2008
[INFO] Final Memory: 44M/83M
[INFO]
------------------------------------------------------------------------
 
Ringo De Smet
ixor
 
*************************************************************

Dit e-mail bericht inclusief eventuele ingesloten bestanden kan informatie 
bevatten die vertrouwelijk is en/of beschermd door intellectuele 
eigendomsrechten. Dit bericht is uitsluitend bestemd voor de geadresseerde(n). 
Elk gebruik van de informatie vervat in dit bericht (waaronder de volledige of 
gedeeltelijke reproductie of verspreiding onder elke vorm) door andere personen 
dan de geadresseerde(n) is verboden. Indien u dit bericht per vergissing heeft 
ontvangen, gelieve de afzender hiervan te verwittigen en dit bericht te 
verwijderen. 

This e-mail and any attachment thereto may contain information which is 
confidential and/or protected by intellectual property rights and are intended 
for the sole use of the addressees. Any use of the information contained herein 
(including but not limited to total or partial reproduction or distribution in 
any form) by other persons than the addressees is prohibited. If you have 
received this e-mail in error, please notify the sender and delete its contents.

Ce courriel et les annexes éventuelles peuvent contenir des informations 
confidentielles et/ou protégées par des droits de propriété intellectuelle. Ce 
message est adressé exclusivement à son (ses) destinataire(s). Toute 
utilisation du contenu de ce message (y compris la reproduction ou diffusion 
partielle ou complète sous toute forme) par une autre personne que le(s) 
destinataire(s) est formellement interdite. Si vous avez reçu ce message par 
erreur, veuillez prévenir l'expéditeur du message et en détruire le contenu.

*************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to