@@ -242,7 +242,8 @@ limitations under the License.
242242 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
243243 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
244244 <commons .encoding>UTF-8</commons .encoding>
245- <checkstyle .header.file>${basedir} /LICENSE-header.txt</checkstyle .header.file>
245+ <checkstyle .header.file>${basedir} /src/conf/checkstyle-header.txt</checkstyle .header.file>
246+ <checkstyle .config.file>${basedir} /src/conf/checkstyle.xml</checkstyle .config.file>
246247 <checkstyle .version>2.17</checkstyle .version>
247248 <commons .japicmp.version>0.15.2</commons .japicmp.version>
248249 <commons .jacoco.version>0.8.6</commons .jacoco.version>
@@ -326,9 +327,9 @@ limitations under the License.
326327 <artifactId >maven-checkstyle-plugin</artifactId >
327328 <version >${checkstyle.version} </version >
328329 <configuration >
329- <configLocation >${basedir} / checkstyle.xml </configLocation >
330+ <configLocation >${checkstyle.config.file} </configLocation >
330331 <enableRulesSummary >false</enableRulesSummary >
331- <headerFile >${basedir} /LICENSE- header.txt </headerFile >
332+ <headerFile >${checkstyle. header.file} </headerFile >
332333 <includeTestSourceDirectory >true</includeTestSourceDirectory >
333334 <resourceExcludes >NOTICE.txt,LICENSE.txt,**/pom.properties,**/sha512.properties</resourceExcludes >
334335 </configuration >
@@ -362,9 +363,9 @@ limitations under the License.
362363 <artifactId >maven-checkstyle-plugin</artifactId >
363364 <version >${checkstyle.version} </version >
364365 <configuration >
365- <configLocation >${basedir} / checkstyle.xml </configLocation >
366+ <configLocation >${checkstyle.config.file} </configLocation >
366367 <enableRulesSummary >false</enableRulesSummary >
367- <headerFile >${basedir} /LICENSE- header.txt </headerFile >
368+ <headerFile >${checkstyle. header.file} </headerFile >
368369 <includeTestSourceDirectory >true</includeTestSourceDirectory >
369370 </configuration >
370371 <!-- We need to specify reportSets because 2.9.1 creates two reports -->
0 commit comments