Taglist plugin causes Test classes to be included in the JavaDoc and API xref
-----------------------------------------------------------------------------
Key: MTAGLIST-31
URL: http://jira.codehaus.org/browse/MTAGLIST-31
Project: Maven 2.x Taglist Plugin
Issue Type: Bug
Affects Versions: 2.1
Reporter: Niall Pemberton
Priority: Blocker
Attachments: maven-taglist-plugin.patch
Including the maven taglist plugin in the reporting section causes the test
classes to be included in the JavaDocs and Source cross reference.
For an example see Commons CSV (e.g. CSVConfigTest):
http://commons.apache.org/sandbox/csv/apidocs/index.html
http://commons.apache.org/sandbox/csv/xref/index.html
All the Commons Sandbox components use the same parent pom (where the taglist
plugin is configured) - but there are a few cases where this doesn't seem to
happen.
Looking at the source code, the problem seems to be in the
constructSourceDirs() method in TagListReport - its adding dirs to the
sourceDirs which are injected into the class (and presumably not copied!)
rather than the List internal to that method. Fixing this seems to resolve the
problem.
--
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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email