LANG-1256: Add JMH maven dependencies.
fix checkstyle exclusion on older maven versions
This commit is contained in:
parent
331d2f21f9
commit
b7cc7a1c7b
12
pom.xml
12
pom.xml
|
@ -675,10 +675,14 @@
|
|||
<configuration>
|
||||
<configLocation>${basedir}/checkstyle.xml</configLocation>
|
||||
<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>
|
||||
<testSourceDirectory>src/test/java</testSourceDirectory>
|
||||
</testSourceDirectories>
|
||||
<!-- end: workaround to exclude classes generated by JMH see https://issues.apache.org/jira/browse/MCHECKSTYLE-70 -->
|
||||
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
||||
<enableRulesSummary>false</enableRulesSummary>
|
||||
</configuration>
|
||||
|
@ -704,10 +708,14 @@
|
|||
<configuration>
|
||||
<configLocation>${basedir}/checkstyle.xml</configLocation>
|
||||
<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>
|
||||
<testSourceDirectory>src/test/java</testSourceDirectory>
|
||||
</testSourceDirectories>
|
||||
<!-- end: workaround to exclude classes generated by JMH see https://issues.apache.org/jira/browse/MCHECKSTYLE-70 -->
|
||||
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
||||
<enableRulesSummary>false</enableRulesSummary>
|
||||
</configuration>
|
||||
|
|
Loading…
Reference in New Issue