[
http://jira.codehaus.org/browse/MTAGLIST-51?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nate Stoddard updated MTAGLIST-51:
----------------------------------
Attachment: MTAGLIST-51.patch
Added a patch that changes the TagClass logic to a best match instead of a
first match. The patch also adds a best match unit test similar to the example
posted in this issue.
> Javadoc @todo,@deprecated are not recognised
> --------------------------------------------
>
> Key: MTAGLIST-51
> URL: http://jira.codehaus.org/browse/MTAGLIST-51
> Project: Maven 2.x Taglist Plugin
> Issue Type: Bug
> Affects Versions: 2.4
> Environment: win xp, maven 2.1.1
> Reporter: Bruno Marti
> Attachments: MTAGLIST-51.patch
>
>
> Javadoc comments of @todo and @deprecated are not recognised, even if there
> are defined in the taglist.
> {noformat}
> /**
> * my comment
> *
> * @todo write something
> * @deprecated use other
> *
> ...
> {noformat}
> {noformat}
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>taglist-maven-plugin</artifactId>
> <version>2.4</version>
> <configuration>
> <tagListOptions>
> <tagClasses>
> <tagClass>
> <displayName>Todo Work</displayName>
> <tags>
> <tag>
> <matchString>todo</matchString>
> <matchType>ignoreCase</matchType>
> </tag>
> <tag>
> <matchString>@todo</matchString>
> <matchType>ignoreCase</matchType>
> </tag>
> <tag>
> <matchString>FIXME</matchString>
> <matchType>exact</matchType>
> </tag>
> </tags>
> </tagClass>
> <tagClass>
> <displayName>Deprecated</displayName>
> <tags>
> <tag>
> <matchString>deprecated</matchString>
> <matchType>ignoreCase</matchType>
> </tag>
> <tag>
> <matchString>@deprecated</matchString>
> <matchType>ignoreCase</matchType>
> </tag>
> </tags>
> </tagClass>
> </tagClasses>
> </tagListOptions>
> </configuration>
> </plugin>
> {noformat}
--
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