Repository: commons-lang
Updated Branches:
  refs/heads/master 331d2f21f -> b7cc7a1c7


LANG-1256: Add JMH maven dependencies.

fix checkstyle exclusion on older maven versions


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/b7cc7a1c
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/b7cc7a1c
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/b7cc7a1c

Branch: refs/heads/master
Commit: b7cc7a1c7ba803e37218e53825c8aa1534071796
Parents: 331d2f2
Author: pascalschumacher <pascalschumac...@gmx.net>
Authored: Fri Apr 28 19:09:14 2017 +0200
Committer: pascalschumacher <pascalschumac...@gmx.net>
Committed: Fri Apr 28 19:09:14 2017 +0200

----------------------------------------------------------------------
 pom.xml | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/b7cc7a1c/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 0f842fc..35cf5b3 100644
--- a/pom.xml
+++ b/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>

Reply via email to