>> How do I get the javadoc plugin to do only certain classes?
>>
>> The Ant javadoc task does it by letting you pass in a <fileset>. I can't
>> find the equivalent in Maven.

Martin Gainty wrote:
take a look at maven-javadoc-plugin
http://maven.apache.org/plugins/maven-javadoc-plugin/

Here is an example
<plugin>
   <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-javadoc-plugin</artifactId>
         <configuration>
                <links>
                        <link>http://java.sun.com/j2ee/1.4.2/docs/api</link>

and this mechanism for configuring offline links

if  http://java.sun.com/j2se/1.4.2/docs/api unreachable try 
/opt/java-apidoc/j2sdk1.4.1/docs/api/
maven.javadoc.offlineLinks= \
  http://java.sun.com/j2se/1.4.2/docs/api/#/opt/java-apidoc/j2sdk1.4.1/docs/api/

Martin, I'm not sure how this helps. What I want to do is include certain classes in the javadoc and not others. I think the <links> tag just helps makes links between one set of javadoc and another.


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

Reply via email to