Hi,

this is a known bug [1]. It's fixed in svn but a fixed version is not
released yet. Aa a workaround, just create a symlink.

-Tim

[1] http://jira.codehaus.org/browse/PLXUTILS-34

Sinduria,Anuradha schrieb:
>  
> 
> Hi All,
> 
>  
> 
> I want to do Java doc generation while doing "mvn site" on my UNIX Free BSD
> 6.2.
> 
> I added following in my pom
> 
>  
> 
> <plugin>
> 
>        <groupId>org.apache.maven.plugins</groupId>
> 
>        <artifactId>maven-javadoc-plugin</artifactId>
> 
>        <configuration>
> 
>           <links>
> 
>             <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
> 
>             <link>http://plexus.codehaus.org/ref/1.0-alpha-9/apidocs</link>
> 
>             <link>http://jakarta.apache.org/commons/dbcp/apidocs/</link>
> 
>           </links>
> 
>         </configuration>
> 
> </plugin>
> 
>  
> 
> I am getting the following error
> 
>  
> 
> [INFO] Generate "JavaDocs" report.
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> [ERROR] BUILD ERROR
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> [INFO] Error during page generation
> 
>  
> 
> Embedded error: Error rendering Maven report: Unable to find javadoc
> version: Error while executing process.
> 
> java.io.IOException: /bin/bash: not found
> 
> [INFO]
> ------------------------------------------------------------------------
> 
>  
> 
> My bash is in /usr/local/bin/bash and I have sh shell inside /bin (/bin/sh)
> 
>  
> 
> I tried below plugin also but getting same error:
> 
>  
> 
> <plugin>
> 
>         <artifactId>maven-javadoc-plugin</artifactId>
> 
>         <reportSets>
> 
>                <reportSet>
> 
>                   <id>uml</id>
> 
>                   <configuration>
> 
>                      <doclet>gr.spinellis.umlgraph.doclet.UmlGraph</doclet>
> 
>                      <docletArtifact>
> 
>                         <groupId>umlgraph</groupId>
> 
>                         <artifactId>UMLGraph</artifactId>
> 
>                         <version>4.2-SNAPSHOT</version>
> 
>                      </docletArtifact>
> 
>                      <additionalparam>-views</additionalparam>
> 
>                      <destDir>target/uml</destDir>
> 
>                      <show>private</show>
> 
>                   </configuration>
> 
>                   <reports>
> 
>                      <report>javadoc</report>
> 
>                   </reports>
> 
>                </reportSet>
> 
>                <reportSet>
> 
>                   <id>html</id>
> 
>                   <configuration>
> 
>                      <show>private</show>
> 
>                   </configuration>
> 
>                   <reports>
> 
>                      <report>javadoc</report>
> 
>                   </reports>
> 
>                </reportSet>
> 
>             </reportSets>
> 
> </plugin>
> 
>  
> 
> Please advice how to resolv it.
> 
>  
> 
> Thanks and Regards,
> 
> Anuradha Sinduria
> 
>  
> 
>  
> 
> 


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

Reply via email to