File tree 2 files changed +41
-41
lines changed
2 files changed +41
-41
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Counting Tags
13
13
14
14
Let us configure the plugin in the <<<pom.xml>>> file like this:
15
15
16
- -----
16
+ + ---+
17
17
<project>
18
18
...
19
19
<reporting>
@@ -67,40 +67,40 @@ Counting Tags
67
67
</reporting>
68
68
...
69
69
</project>
70
- -----
70
+ + ---+
71
71
72
72
The Java file we are analyzing is this one:
73
73
74
- -----
75
- 1: package taglist;
76
- 2:
77
- 3: /**
78
- 4: * NOT_YET_DOCUMENTED
79
- 5: */
80
- 6: public class Issue
81
- 7: {
82
- 8: /**
83
- 9: * A method.
84
- 10: * FIXME Describe what this method does
85
- 11: *
86
- 12: * @param i DOCUMENT_ME
87
- 13: * @return Something useful
88
- 14: */
89
- 15: public double method(int i)
90
- 16: {
91
- 17: // <todo> must be implemented
92
- 18: return 0;
93
- 19: }
94
- 20:
95
- 21: /**
96
- 22: * This method counts FIXME tags in the text.
97
- 23: */
98
- 24: private int countFixmeTags(String text)
99
- 25: {
100
- 26: // @todo Implement this later
101
- 27: }
102
- 28: }
103
- -----
74
+ + ---+
75
+ package taglist;
76
+
77
+ /**
78
+ * NOT_YET_DOCUMENTED
79
+ */
80
+ public class Issue
81
+ {
82
+ /**
83
+ * A method.
84
+ * FIXME Describe what this method does
85
+ *
86
+ * @param i DOCUMENT_ME
87
+ * @return Something useful
88
+ */
89
+ public double method(int i)
90
+ {
91
+ // <todo> must be implemented
92
+ return 0;
93
+ }
94
+
95
+ /**
96
+ * This method counts FIXME tags in the text.
97
+ */
98
+ private int countFixmeTags(String text)
99
+ {
100
+ // @todo Implement this later
101
+ }
102
+ }
103
+ + ---+
104
104
105
105
We'll go through the lines in the code and explain what happens and why.
106
106
Original file line number Diff line number Diff line change 16
16
17
17
In your <<<pom.xml>>>, insert this segment:
18
18
19
- -------------------
19
+ + ---+
20
20
<project>
21
21
...
22
22
<build>
34
34
</reporting>
35
35
...
36
36
</project>
37
- -------------------
37
+ + ---+
38
38
39
39
NOTE:
40
40
If you like having cross references included you need to define the
@@ -51,7 +51,7 @@ mvn site
51
51
The TagList plugin allows tags to be found using three matching methods: exact match, ignore case match, and
52
52
regular expression match. The matched tags are grouped into tag classes. For instance:
53
53
54
- -------------------
54
+ + ---+
55
55
<project>
56
56
...
57
57
<build>
@@ -88,14 +88,14 @@ mvn site
88
88
</reporting>
89
89
...
90
90
</project>
91
+ +---+
91
92
93
+ For backwards compatibility with versions prior to the 2.4 release, the legacy tags configuration is supported;
94
+ however, only exact matching
95
+ is used with legacy configuration.
92
96
93
- -------------------
97
+ + ---+
94
98
95
- For backwards compatibility with versions prior to the 2.4 release, the legacy tags configuration is supported; however, only exact matching
96
- is used with legacy configuration.
97
-
98
- -------------------
99
99
<project>
100
100
...
101
101
<configuration>
@@ -108,4 +108,4 @@ mvn site
108
108
</configuration>
109
109
...
110
110
</project>
111
- -------------------
111
+ + ---+
You can’t perform that action at this time.
0 commit comments