[ http://jira.codehaus.org/browse/MJAVADOC-56?page=all ]
     
Maria Odea Ching reopened MJAVADOC-56:
--------------------------------------


When the wildcard is in the last part of the package name, the upper directory 
above the subpackage(s) where that wildcard is placed is also excluded.

Sample structure:
+--org/apache/maven
  +--repository
  +--sample
      +--exclude1
        --Sample.java

For  example, I want to exclude only the classes in the 
org.apache.maven.sample.exclude package so in the plugin configuration I put:
<configuaration>
   ...
   
<excludePackageNames>org.apache.maven.repository.sample.*</excludePackageNames>
   ...
</configuration>


This should exclude only the classes under the 
org.apache.maven.repository.sample package, but it turns out that Sample.java 
is also excluded.  
  

> excludePackageNames should accept wildars
> -----------------------------------------
>
>          Key: MJAVADOC-56
>          URL: http://jira.codehaus.org/browse/MJAVADOC-56
>      Project: Maven 2.x Javadoc Plugin
>         Type: Improvement

>     Reporter: Michael Böckling
>     Assignee: Maria Odea Ching
>     Priority: Minor
>      Fix For: 2.0
>  Attachments: MJAVADOC-56-maven-javadoc-plugin.patch
>
> Original Estimate: 6 hours
>        Time Spent: 5 hours, 30 minutes
>         Remaining: 30 minutes
>
> We want o exclude *.internal* packages from Javadoc generation, but the 
> current implementation only permits fully qualified package names. An ANT 
> style exclude pattern would be nice, but I gues that depends on 
> FileUtils.getFilesFromExtension() supporting an exclusions argument? Never 
> understood anyway why (the imho pretty nice) ANT DirectoryScanner is not 
> used, and plextools reinvent the wheel...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to