Hi Peter,

> Running mvn javadoc:javadoc
>
> [INFO] [javadoc:javadoc]
> [INFO] C:\opt\j2sdk1.4.2_04\jre\..\bin\javadoc.exe @options @files
> usage: javadoc [options] [packagenames] [sourcefiles] [classnames] [EMAIL 
> PROTECTED]
> -overview <file>          Read overview documentation from HTML file
> -public                   Show only public classes and members
> -protected                Show protected/public classes and members (default)
>
> ==////==
>
> 1 error
> [INFO] 
> -------------------------------------------------------------------------
> ---
> [ERROR] BUILD ERROR
> [INFO] 
> -------------------------------------------------------------------------
> ---
> [INFO] An error has occurred in JavaDocs report generation.
>
> Embedded error: Exit code: 1 - javadoc: invalid flag: -J-Xmx512m


Works for me.
Try to install the latest javadoc plugin from SVN.

> BTW: How do specify the <group> information in the configuration element.
>
> Is the format like this?
>
>            <plugin>
>                <groupId>org.apache.maven.plugins</groupId>
>                <artifactId>maven-javadoc-plugin</artifactId>
>                <configuration>
>                    <minmemory>128m</minmemory>
>                    <maxmemory>512m</maxmemory>
>                    <breakiterator>true</breakiterator>
>                    <group>
>                    Data Access Objects,
>                                com.csfb.asds.server.dao:
>                                com.csfb.asds.ejb.dao:
>                                com.csfb.asds.client.dao:
>                    </group>
>
>            </plugin>


The following test worked in the past.
http://svn.apache.org/repos/asf/maven/components/trunk/maven-plugins/maven-javadoc-plugin/src/test/projects/javadoc-plugin-test1/pom.xml
So, sounds like a bug around the line 825 ;)
Could you file it in JIRA?

Cheers,

Vincent

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

Reply via email to