I am sorry I asked this question already, but ...

How do set up the group packaging with the javadoc plug-in?

>From the documentation
http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html

"Separates packages on the overview page into whatever groups you 
specify, one group per table. See group. It is a comma separated String."


Which refers to the JavaDoc official documentation for -group parameter


"-group  groupheading  packagepattern:packagepattern:...
    
"Separates packages on the overview page into whatever groups you
specify, one group per table. You specify each group with a 
different -group option. The groups appear on the page in the
order specified on the command line; packages are alphabetized 
within a group. For a given -group option, the packages matching 
the list of packagepattern expressions appear in a table with 
the heading groupheading."

e.g. C:> javadoc -group "Core Packages" "java.lang*:java.util"
            -group "Extension Packages" "javax.*"
            java.lang java.lang.reflect java.util javax.servlet java.new


Is the javadoc plug-in simply passing these strings to the Java doclet
generator, or those it expecting a specific format in order to
translate to the proper javadoc -group format? 

The m2 debug does not really reveal what the fault is.





Any help appreciated.


> -----Original Message-----
> From: Pilgrim, Peter [mailto:[EMAIL PROTECTED]
> Sent: 03 November 2005 13:29
> To: Maven Users List (E-mail)
> Subject: [M2] javadoc definining group packagings
> 
> 
> Hi 
> 
> I am converting M1 to M2 and I trying set up the javadoc 
> groups for packages.
> 
> What is the correct format for <group> in the javadoc:javadoc plugin?
> 
> I would like `com.csfb.foo.bar.dao' to fall under DAO
> and `com.csfb.foo.bar.ui' to fall under `UI'
> 
> <project>
>       <build>
>       ...
>          <plugins>
>             <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-javadoc-plugin</artifactId>
>                 <configuration>
>                     <breakiterator>true</breakiterator>
>                         <!-- BROKEN -->
>                     <!--  <minmemory>128m</minmemory> -->
>                     <!--  <maxmemory>512</maxmemory> -->
>                     <bottom>Copyright me</bottom>
>                     <source>true</source>
>                     <link>
>                         http://java.sun.com/j2se/1.4.2/docs/api,
>                         http://maven.apache.org/apidocs/
>                     </link>
>                     <group>
>                         "Data Access Objects"
>                         "com.csfb.foo.bar.dao"
>                         "com.csfb.foo.bar.dao.config"
>                         "com.csfb.foo.bar.da.impl"
> 
>                         "User Interface"
>                         "com.csfb.foo.bar.ui"
>                         "com.csfb.foo.bar.ui.services"
>                       </group>
>               ...
>               </plugins> 
>       </build> 
> 
>       ...
> </project>
> 
> 
> tia
==////==

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


==============================================================================
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==============================================================================


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

Reply via email to