Hi,

Venkat Muthusamy wrote:
> 
> Hi,
> 
> I like to know how to exclude packages while creating javadocs.
> 
> I included the following plugin in the pom with "excludepackaegenames"
> option.
> 
> Looks like it is not excluding the packages. Is there something wrong in
> my
> configuration or do I miss something.
> 
>             <plugin>
> 
>               <groupId>org.apache.maven.plugins</groupId>
> 
>                         <artifactId>maven-javadoc-plugin</artifactId>
> 
>                         <version>2.0-beta-3</version>
> 
>                         <configuration>
> 
>                           <excludepackagenames>
> 
>                            com.xyz.util.ddm.cache.xmlconfig.*
> 
>                           </excludepackagenames>
> 
>                         </configuration>
> 
>               </plugin>
> 
> I ran mvn javadoc:javadoc command
> 
> Thanks in advance,
> 
> Venkat M
> 
> 

I found it to be case sensitive when I was using the site command, so you
would need to change it to:

<excludePackageNames>com.xyz.util.ddm.cache.xmlconfig.*</excludePackageNames>

And for informational purposes for anyone reading this, if you wish to
include multiple packages as a list, they should be comma-separated inside
the excludePackageNames tag.

Hopefully that helps,

Tony Vigil
-- 
View this message in context: 
http://www.nabble.com/Javadoc-exclude-option-in-Maven-2-tf782379.html#a6495740
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to