diff --git a/pom.xml b/pom.xml index c57e78f..f37f81b 100644 --- a/pom.xml +++ b/pom.xml @@ -16,6 +16,7 @@ http://www.mojohaus.org/taglist-maven-plugin/ 2.2.1 + 3.3.1 ${mavenVersion} @@ -79,6 +80,39 @@ https://github.com/mojohaus/taglist-maven-plugin + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${plugin.maven-javadoc-plugin.version} + + + + todo + a + TODO: + + + goal + a + GOAL: + + + requiresProject + a + Requires Project: + + + threadSafe + a + Thread safe: + + + + + + org.apache.maven.plugins @@ -185,6 +219,11 @@ + + org.apache.maven.plugins + maven-javadoc-plugin + ${plugin.maven-javadoc-plugin.version} + org.apache.maven.plugins maven-changes-plugin diff --git a/src/main/java/org/codehaus/mojo/taglist/tags/GenericTag.java b/src/main/java/org/codehaus/mojo/taglist/tags/GenericTag.java index 2fe3693..8a4b79e 100644 --- a/src/main/java/org/codehaus/mojo/taglist/tags/GenericTag.java +++ b/src/main/java/org/codehaus/mojo/taglist/tags/GenericTag.java @@ -29,11 +29,11 @@ * * Example POM: *
- *   
+ *   <project >
  *       ...
- *       fixme
+ *       <matchString>fixme</matchString>
  *       ...
- *   
+ *   </project>
  *  
* * Example Java code with match: diff --git a/src/main/java/org/codehaus/mojo/taglist/tags/IgnoreCaseTag.java b/src/main/java/org/codehaus/mojo/taglist/tags/IgnoreCaseTag.java index ee46e99..2faf327 100644 --- a/src/main/java/org/codehaus/mojo/taglist/tags/IgnoreCaseTag.java +++ b/src/main/java/org/codehaus/mojo/taglist/tags/IgnoreCaseTag.java @@ -29,12 +29,12 @@ * * Example POM: *
- *   
+ *   <project>
  *       ...
- *       fixme
- *      ignoreCase
+ *       <matchString>fixme</matchString>
+ *       <matchType>ignoreCase</matchType>
  *       ...
- *   
+ *   </project>
  *  
* * Example Java code with match: diff --git a/src/main/java/org/codehaus/mojo/taglist/tags/RegExTag.java b/src/main/java/org/codehaus/mojo/taglist/tags/RegExTag.java index 6e060f3..19f6900 100644 --- a/src/main/java/org/codehaus/mojo/taglist/tags/RegExTag.java +++ b/src/main/java/org/codehaus/mojo/taglist/tags/RegExTag.java @@ -31,12 +31,12 @@ * * Example POM: *
- *   
+ *   <project>
  *       ...
- *       fixme[0-9]
- *      regEx
+ *       <matchString>fixme[0-9]</matchString>
+ *       <matchType>regEx</matchType>
  *       ...
- *   
+ *   </project>
  *  
* * Example Java code with match: diff --git a/src/main/java/org/codehaus/mojo/taglist/tags/TagClass.java b/src/main/java/org/codehaus/mojo/taglist/tags/TagClass.java index 47347b8..4439bfa 100644 --- a/src/main/java/org/codehaus/mojo/taglist/tags/TagClass.java +++ b/src/main/java/org/codehaus/mojo/taglist/tags/TagClass.java @@ -35,15 +35,15 @@ * * Example *
- *   
- *    Action Items
- *    
- *     
- *      todo
- *      ignoreCase
- *     
- *    
- *   
+ *   <tagClass>
+ *    <displayName>Action Items</displayName>
+ *    <tags>
+ *     <tag>
+ *      <matchString>todo</matchString>
+ *      <matchType>ignoreCase</matchType>
+ *     </tag>
+ *    </tags>
+ *   </tagClass>
  *  
* */ diff --git a/src/test/java/org/codehaus/mojo/taglist/TaglistMojoTagsTest.java b/src/test/java/org/codehaus/mojo/taglist/TaglistMojoTagsTest.java index 5d78e5c..be8568f 100644 --- a/src/test/java/org/codehaus/mojo/taglist/TaglistMojoTagsTest.java +++ b/src/test/java/org/codehaus/mojo/taglist/TaglistMojoTagsTest.java @@ -179,7 +179,7 @@ public void testJavaDocMultiTags() /** * Test the tags not at start of line. * - * E.g. // This is a comment about @todo line. <-- @todo didn't start line + * E.g. // This is a comment about @todo line. <-- @todo didn't start line * * @throws Exception */