You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2017/05/17 15:04:13 UTC
[29/50] [lang] LANG-1256: Add JMH maven dependencies.
LANG-1256: Add JMH maven dependencies.
move checkstyle exclusion of JMH generated classes from pom.xml to checkstyle-suppressions.xml
Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/d61090ab
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/d61090ab
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/d61090ab
Branch: refs/heads/release
Commit: d61090ab64dcf411d7f1db0b6a9890af74238580
Parents: b7cc7a1
Author: pascalschumacher <pa...@gmx.net>
Authored: Fri Apr 28 21:03:56 2017 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Fri Apr 28 21:03:56 2017 +0200
----------------------------------------------------------------------
checkstyle-suppressions.xml | 2 ++
pom.xml | 16 ----------------
2 files changed, 2 insertions(+), 16 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-lang/blob/d61090ab/checkstyle-suppressions.xml
----------------------------------------------------------------------
diff --git a/checkstyle-suppressions.xml b/checkstyle-suppressions.xml
index 3c02362..359c8dd 100644
--- a/checkstyle-suppressions.xml
+++ b/checkstyle-suppressions.xml
@@ -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>
http://git-wip-us.apache.org/repos/asf/commons-lang/blob/d61090ab/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 35cf5b3..481840f 100644
--- a/pom.xml
+++ b/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>