[ 
http://jira.codehaus.org/browse/MTAGLIST-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=228815#action_228815
 ] 

Bruno Marti commented on MTAGLIST-51:
-------------------------------------

I found a workaround:
The order of the tags is important! Here '@todo' must be before 'todo' etc.
Use this and all tags will be found.
{noformat}
<tag>
  <matchString>@todo</matchString>
  <matchType>ignoreCase</matchType>
</tag>
<tag>
  <matchString>todo</matchString>
  <matchType>ignoreCase</matchType>
</tag>
{noformat} 

> 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
>
> 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


Reply via email to