|
3 | 3 |
|
4 | 4 | 
|
5 | 5 |
|
6 |
| -A Doclet to generate JavaDoc coverage reports. It parses the java source files and checks the percentage of the Java code covered by JavaDoc documentation, including: |
| 6 | +The Doclet parses java source files and checks the percentage of the Java code covered by JavaDoc documentation, including: |
7 | 7 | - packages (*Java 9 modules not supported yet*)
|
8 | 8 | - classes, inner classes, interfaces and enums
|
9 | 9 | - class attributes
|
@@ -158,11 +158,6 @@ task javadocJar(type: Jar, dependsOn: javadocCoverageReport) {
|
158 | 158 | }
|
159 | 159 | ```
|
160 | 160 |
|
161 |
| -The example shows how to ignore the package `com.manoelcampos.sample2` from the coverage report. The `<excludePackageNames>` tag accepts a list of packages separated by `:` and also wildcards such as `*`. |
162 |
| -For more details, check this [link](https://maven.apache.org/plugins/maven-javadoc-plugin/examples/exclude-package-names.html). |
163 |
| - |
164 |
| -If you are generating the regular JavaDoc HTML files, you have to include this configuration only where the CoverageDoclet is being used into your pom.xml, unless you want these packages to be excluded from the regular JavaDocs too. |
165 |
| - |
166 | 161 | # Additional Configuration (optional)
|
167 | 162 |
|
168 | 163 | You can define additional configurations for the plugin.
|
@@ -190,6 +185,11 @@ You can exclude some packages from the coverage report by adding the code exampl
|
190 | 185 | </configuration>
|
191 | 186 | ```
|
192 | 187 |
|
| 188 | +The example shows how to ignore the package `com.manoelcampos.sample2` from the coverage report. The `<excludePackageNames>` tag accepts a list of packages separated by `:` and also wildcards such as `*`. |
| 189 | +For more details, check this [link](https://maven.apache.org/plugins/maven-javadoc-plugin/examples/exclude-package-names.html). |
| 190 | + |
| 191 | +If you are generating the regular JavaDoc HTML files, you have to include this configuration only where the CoverageDoclet is being used into your pom.xml, unless you want these packages to be excluded from the regular JavaDocs too. |
| 192 | + |
193 | 193 | # Building the Doclet from Sources
|
194 | 194 |
|
195 | 195 | The Doclet is a Java Maven project which can be built directly from any IDE or using the following maven command:
|
|
0 commit comments