LANG-1256: Add JMH maven dependencies. do not run checksytle on classes generated by JMH
remove unnecessary maven-compiler-plugin configuration from benchmark profile Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/331d2f21 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/331d2f21 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/331d2f21 Branch: refs/heads/release Commit: 331d2f21f96ea6d1197fd8fb0774109a8e9732b5 Parents: e685d84 Author: pascalschumacher <pascalschumac...@gmx.net> Authored: Fri Apr 28 18:34:29 2017 +0200 Committer: pascalschumacher <pascalschumac...@gmx.net> Committed: Fri Apr 28 18:34:29 2017 +0200 ---------------------------------------------------------------------- pom.xml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/331d2f21/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 9b22eb3..0f842fc 100644 --- a/pom.xml +++ b/pom.xml @@ -675,6 +675,10 @@ <configuration> <configLocation>${basedir}/checkstyle.xml</configLocation> <suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation> + <!-- necessary to exclude classes generated by JMH for check --> + <testSourceDirectories> + <testSourceDirectory>src/test/java</testSourceDirectory> + </testSourceDirectories> <includeTestSourceDirectory>true</includeTestSourceDirectory> <enableRulesSummary>false</enableRulesSummary> </configuration> @@ -700,6 +704,10 @@ <configuration> <configLocation>${basedir}/checkstyle.xml</configLocation> <suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation> + <!-- necessary to exclude classes generated by JMH for check --> + <testSourceDirectories> + <testSourceDirectory>src/test/java</testSourceDirectory> + </testSourceDirectories> <includeTestSourceDirectory>true</includeTestSourceDirectory> <enableRulesSummary>false</enableRulesSummary> </configuration> @@ -872,22 +880,12 @@ <skipTests>true</skipTests> <benchmark>org.apache</benchmark> </properties> - <build> <plugins> <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.1</version> - <configuration> - <compilerVersion>${maven.compiler.target}</compilerVersion> - <source>${maven.compiler.target}</source> - <target>${maven.compiler.target}</target> - </configuration> - </plugin> - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> + <version>1.6.0</version> <executions> <execution> <id>benchmark</id> @@ -914,6 +912,6 @@ </plugin> </plugins> </build> - </profile> </profiles> - + </profile> + </profiles> </project>