|
156 | 156 | <commons.encoding>UTF-8</commons.encoding> |
157 | 157 |
|
158 | 158 | <checkstyle.version>3.1.2</checkstyle.version> |
159 | | - <checkstyle.header.file>${basedir}/LICENSE-header.txt</checkstyle.header.file> |
| 159 | + <checkstyle.header.file>${basedir}/src/site/resources/checkstyle/checkstyle-header.txt</checkstyle.header.file> |
| 160 | + <checkstyle.config.file>${basedir}/src/site/resources/checkstyle/checkstyle.xml</checkstyle.config.file> |
| 161 | + <checkstyle.suppress.file>${basedir}/src/site/resources/checkstyle/checkstyle-suppressions.xml</checkstyle.suppress.file> |
160 | 162 | <checkstyle.resourceExcludes>LICENSE.txt, NOTICE.txt, **/maven-archiver/pom.properties</checkstyle.resourceExcludes> |
161 | 163 |
|
162 | 164 | <commons.pmd.version>3.14.0</commons.pmd.version> |
|
203 | 205 | <artifactId>maven-checkstyle-plugin</artifactId> |
204 | 206 | <version>${checkstyle.version}</version> |
205 | 207 | <configuration> |
206 | | - <configLocation>${basedir}/checkstyle.xml</configLocation> |
| 208 | + <configLocation>${checkstyle.config.file}</configLocation> |
207 | 209 | <enableRulesSummary>false</enableRulesSummary> |
208 | | - <suppressionsLocation>${basedir}/src/site/resources/checkstyle/checkstyle-suppressions.xml</suppressionsLocation> |
| 210 | + <suppressionsLocation>${checkstyle.suppress.file}</suppressionsLocation> |
209 | 211 | </configuration> |
210 | 212 | </plugin> |
211 | 213 | <plugin> |
|
274 | 276 | <artifactId>maven-checkstyle-plugin</artifactId> |
275 | 277 | <version>${checkstyle.version}</version> |
276 | 278 | <configuration> |
277 | | - <configLocation>${basedir}/checkstyle.xml</configLocation> |
| 279 | + <configLocation>${checkstyle.config.file}</configLocation> |
278 | 280 | <enableRulesSummary>false</enableRulesSummary> |
279 | | - <suppressionsLocation>${basedir}/src/site/resources/checkstyle/checkstyle-suppressions.xml</suppressionsLocation> |
| 281 | + <suppressionsLocation>${checkstyle.suppress.file}</suppressionsLocation> |
280 | 282 | </configuration> |
281 | 283 | <!-- We need to specify reportSets because 2.9.1 creates two reports --> |
282 | 284 | <reportSets> |
|
0 commit comments