File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 230230 <artifactId >maven-checkstyle-plugin</artifactId >
231231 <version >2.1</version >
232232 <configuration >
233- <configLocation >src/conf/checkstyle.xml</configLocation >
233+ <configLocation >${basedir} / src/conf/checkstyle.xml</configLocation >
234234 <enableRulesSummary >false</enableRulesSummary >
235+ <headerFile >${basedir} /src/conf/HEADER.txt</headerFile >
235236 </configuration >
236237 </plugin >
237238 <plugin >
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ limitations under the License.
7777 <!-- Checks for Headers -->
7878 <!-- See http://checkstyle.sf.net/config_header.html -->
7979 <module name =" Header" >
80- <property name =" headerFile" value =" src/conf/HEADER.txt " />
80+ <property name =" headerFile" value =" ${checkstyle.header.file} " />
8181 </module >
8282
8383 <!-- Following interprets the header file as regular expressions. -->
You can’t perform that action at this time.
0 commit comments