Details
Description
While compiler plugin can exclude/include files jxr generates the sources for all of them
Activity
Carlos Sanchez
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Type | Bug [ 1 ] | New Feature [ 2 ] |
Brett Porter
made changes -
| Workflow | Maven [ 46513 ] | Maven New [ 49837 ] |
Brett Porter
made changes -
| Key | MOJO-258 | MJXR-7 |
| Project | Mojo [ 11062 ] | Maven 2.x JXR Plugin [ 11194 ] |
| Component/s | jxr [ 11741 ] | |
| Affects Version/s | 2.0-beta-1 [ 12116 ] |
Brett Porter
made changes -
| Fix Version/s | 2.0 [ 12480 ] |
Brett Porter
made changes -
| Project | Maven 2.x JXR Plugin [ 11194 ] | Maven JXR [ 11085 ] |
| Key | MJXR-7 |
|
| Fix Version/s | 1.1 [ 12533 ] | |
| Fix Version/s | 2.0 [ 12480 ] | |
| Complexity | Intermediate |
Dennis Lundberg
made changes -
| Attachment | JXR-17.patch [ 25771 ] |
Dennis Lundberg
made changes -
| Patch attached | Yes | |
| Assignee | Dennis Lundberg [ dennislundberg ] | |
| Testcase included | yes |
Dennis Lundberg
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
Dennis Lundberg
made changes -
| Component/s | jxr [ 12710 ] |
Here is a proposed patch to add include/exclude functionality. As this is my first venture into JXR I would appreciate if someone could review this patch. If it is considered good I can apply it myself.
Please note the @todo on line 108 in JXR.java. I see that there is some extra handling in the JXR-version of DirectoryScanner, but I don't think subclassing is the most elegant solution. As it is now the includes/excludes must be added twice. Once for PackageManager and once for DirectoryScanner.