LANG-1256: Add JMH maven dependencies.
move checkstyle exclusion of JMH generated classes from pom.xml to checkstyle-suppressions.xml
This commit is contained in:
parent
b7cc7a1c7b
commit
d61090ab64
|
@ -19,4 +19,6 @@ limitations under the License.
|
|||
<suppressions>
|
||||
<suppress checks="JavadocMethod" files=".*[/\\]test[/\\].*"/>
|
||||
<suppress checks="JavadocPackage" files=".*[/\\]test[/\\].*"/>
|
||||
<!-- exclude generated JMH classes from all checks -->
|
||||
<suppress checks="[a-zA-Z0-9]*" files=".*[/\\]generated-test-sources[/\\].*"/>
|
||||
</suppressions>
|
||||
|
|
16
pom.xml
16
pom.xml
|
@ -675,14 +675,6 @@
|
|||
<configuration>
|
||||
<configLocation>${basedir}/checkstyle.xml</configLocation>
|
||||
<suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation>
|
||||
<!-- 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>
|
||||
|
@ -708,14 +700,6 @@
|
|||
<configuration>
|
||||
<configLocation>${basedir}/checkstyle.xml</configLocation>
|
||||
<suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation>
|
||||
<!-- 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