File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -281,12 +281,23 @@ limitations under the License.
281281 <plugin >
282282 <groupId >org.apache.maven.plugins</groupId >
283283 <artifactId >maven-checkstyle-plugin</artifactId >
284+ <!-- Use 2.9.1 instead of 2.10; 2.10 seems to scan the 'target'
285+ dir and wants license headers in .properties to be the header for
286+ Java files. -->
284287 <version >2.9.1</version >
285288 <configuration >
286289 <configLocation >${basedir} /checkstyle.xml</configLocation >
287290 <enableRulesSummary >false</enableRulesSummary >
288291 <headerFile >${basedir} /LICENSE-header.txt</headerFile >
289292 </configuration >
293+ <!-- We need to specify reportSets because 2.9.1 creates two reports -->
294+ <reportSets >
295+ <reportSet >
296+ <reports >
297+ <report >checkstyle</report >
298+ </reports >
299+ </reportSet >
300+ </reportSets >
290301 </plugin >
291302 <plugin >
292303 <groupId >org.apache.maven.plugins</groupId >
You can’t perform that action at this time.
0 commit comments