LANG-1256: Add JMH maven dependencies.

fix checkstyle exclusion on older maven versions
This commit is contained in:
pascalschumacher 2017-04-28 19:09:14 +02:00
parent 331d2f21f9
commit b7cc7a1c7b
1 changed files with 10 additions and 2 deletions

12
pom.xml
View File

@ -675,10 +675,14 @@
<configuration> <configuration>
<configLocation>${basedir}/checkstyle.xml</configLocation> <configLocation>${basedir}/checkstyle.xml</configLocation>
<suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation> <suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation>
<!-- necessary to exclude classes generated by JMH for check --> <!-- start: workaround to exclude classes generated by JMH see https://issues.apache.org/jira/browse/MCHECKSTYLE-70 -->
<sourceDirectories>
<sourceDirectory>src/main/java</sourceDirectory>
</sourceDirectories>
<testSourceDirectories> <testSourceDirectories>
<testSourceDirectory>src/test/java</testSourceDirectory> <testSourceDirectory>src/test/java</testSourceDirectory>
</testSourceDirectories> </testSourceDirectories>
<!-- end: workaround to exclude classes generated by JMH see https://issues.apache.org/jira/browse/MCHECKSTYLE-70 -->
<includeTestSourceDirectory>true</includeTestSourceDirectory> <includeTestSourceDirectory>true</includeTestSourceDirectory>
<enableRulesSummary>false</enableRulesSummary> <enableRulesSummary>false</enableRulesSummary>
</configuration> </configuration>
@ -704,10 +708,14 @@
<configuration> <configuration>
<configLocation>${basedir}/checkstyle.xml</configLocation> <configLocation>${basedir}/checkstyle.xml</configLocation>
<suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation> <suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation>
<!-- necessary to exclude classes generated by JMH for check --> <!-- start: workaround to exclude classes generated by JMH see https://issues.apache.org/jira/browse/MCHECKSTYLE-70 -->
<sourceDirectories>
<sourceDirectory>src/main/java</sourceDirectory>
</sourceDirectories>
<testSourceDirectories> <testSourceDirectories>
<testSourceDirectory>src/test/java</testSourceDirectory> <testSourceDirectory>src/test/java</testSourceDirectory>
</testSourceDirectories> </testSourceDirectories>
<!-- end: workaround to exclude classes generated by JMH see https://issues.apache.org/jira/browse/MCHECKSTYLE-70 -->
<includeTestSourceDirectory>true</includeTestSourceDirectory> <includeTestSourceDirectory>true</includeTestSourceDirectory>
<enableRulesSummary>false</enableRulesSummary> <enableRulesSummary>false</enableRulesSummary>
</configuration> </configuration>