ACCUMULO-4351 Default to failIfNoSpecifiedTests=false Set properties for surefire and failsafe plugins so that the non-existence of specified tests to run do not cause a build failure. This makes it easier to execute a specific test which exists only in one module of the multi-module project, but which does not exist in other modules.
(Also remove redundant property in 'sunny' profile) Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/6d85034c Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/6d85034c Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/6d85034c Branch: refs/heads/master Commit: 6d85034c4b6c414e0cbeaa09f208f804da905f64 Parents: f66b9a0 Author: Christopher Tubbs <ctubb...@apache.org> Authored: Tue Jun 21 17:23:26 2016 -0400 Committer: Christopher Tubbs <ctubb...@apache.org> Committed: Tue Jun 21 17:23:26 2016 -0400 ---------------------------------------------------------------------- pom.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/6d85034c/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 9b67614..6b29f4c 100644 --- a/pom.xml +++ b/pom.xml @@ -130,6 +130,7 @@ <!-- overwritten in hadoop profiles --> <hadoop.version>2.2.0</hadoop.version> <httpclient.version>3.1</httpclient.version> + <it.failIfNoSpecifiedTests>false</it.failIfNoSpecifiedTests> <jetty.version>8.1.15.v20140411</jetty.version> <maven.compiler.source>1.6</maven.compiler.source> <maven.compiler.target>1.6</maven.compiler.target> @@ -143,6 +144,7 @@ <!-- overwritten in hadoop profiles --> <slf4j.version>1.7.5</slf4j.version> <sourceReleaseAssemblyDescriptor>source-release-tar</sourceReleaseAssemblyDescriptor> + <surefire.failIfNoSpecifiedTests>false</surefire.failIfNoSpecifiedTests> <!-- Thrift version --> <thrift.version>0.9.1</thrift.version> <!-- ZooKeeper 3.4.x works also, but we're not using new features yet; this ensures 3.3.x compatibility. --> @@ -1222,7 +1224,6 @@ <!-- Minimal testing profile. (a.k.a. SunnyDay) --> <id>sunny</id> <properties> - <failIfNoTests>false</failIfNoTests> <it.test>ReadWriteIT,SimpleProxyIT,ExamplesIT,ShellServerIT</it.test> </properties> </profile>