Repository: qpid-broker-j Updated Branches: refs/heads/6.0.x 97a55b9e6 -> 29daa3b91
NO-JIRA: Add ability to skip running system tests via profile and property Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/29daa3b9 Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/29daa3b9 Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/29daa3b9 Branch: refs/heads/6.0.x Commit: 29daa3b915bd5abf6a83aa0565c5669977f5134e Parents: 97a55b9 Author: Alex Rudyy <[email protected]> Authored: Fri May 26 17:30:13 2017 +0100 Committer: Alex Rudyy <[email protected]> Committed: Fri May 26 17:51:15 2017 +0100 ---------------------------------------------------------------------- pom.xml | 2 +- qpid-systests-parent/pom.xml | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/29daa3b9/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index f7885ab..1dec58d 100644 --- a/pom.xml +++ b/pom.xml @@ -82,7 +82,7 @@ <java.target>1.7</java.target> <!-- enforcer plugin config properties --> - <supported-test-profiles-regex>(java-mms.0-9|java-mms.0-9-1|java-mms.0-10|java-bdb.0-9|java-bdb.0-9-1|java-bdb.0-10|java-dby.0-9|java-dby.0-9-1|java-dby.0-10|java-dby-mem.0-9|java-dby-mem.0-9-1|java-dby-mem.0-10|cpp|java-json.0-9-1|java-json.0-10)</supported-test-profiles-regex> + <supported-test-profiles-regex>(java-mms.0-9|java-mms.0-9-1|java-mms.0-10|java-bdb.0-9|java-bdb.0-9-1|java-bdb.0-10|java-dby.0-9|java-dby.0-9-1|java-dby.0-10|java-dby-mem.0-9|java-dby-mem.0-9-1|java-dby-mem.0-10|cpp|java-json.0-9-1|java-json.0-10|skip.systests)</supported-test-profiles-regex> <!-- surefire forked jvm arguments --> <argLine>-Xmx512m</argLine> http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/29daa3b9/qpid-systests-parent/pom.xml ---------------------------------------------------------------------- diff --git a/qpid-systests-parent/pom.xml b/qpid-systests-parent/pom.xml index 5e4c34e..6345110 100644 --- a/qpid-systests-parent/pom.xml +++ b/qpid-systests-parent/pom.xml @@ -39,6 +39,7 @@ <test.working.directory>${basedir}/..</test.working.directory> <test.resource.directory>${basedir}/..</test.resource.directory> <test.systest.resource.directory>${basedir}</test.systest.resource.directory> + <skip.systests>${skipTests}</skip.systests> </properties> <dependencies> @@ -86,6 +87,7 @@ <java.naming.provider.url>test-profiles${file.separator}test-provider.properties</java.naming.provider.url> <test.output.dir>${test.output.dir}</test.output.dir> </systemPropertyVariables> + <skipTests>${skip.systests}</skipTests> </configuration> <executions> <execution> @@ -236,4 +238,20 @@ </plugins> </reporting> + <profiles> + <profile> + <id>skip.systests</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <skipTests>true</skipTests> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
