Repository: qpid-broker-j Updated Branches: refs/heads/6.1.x 07efab5aa -> c1bd225da
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/c1bd225d Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/c1bd225d Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/c1bd225d Branch: refs/heads/6.1.x Commit: c1bd225da23f61acd253dc6c981cbf70a5386ac1 Parents: 07efab5 Author: Alex Rudyy <[email protected]> Authored: Fri May 26 17:30:13 2017 +0100 Committer: Alex Rudyy <[email protected]> Committed: Fri May 26 17:30:13 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/c1bd225d/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 9ca1103..b0eebad 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/c1bd225d/qpid-systests-parent/pom.xml ---------------------------------------------------------------------- diff --git a/qpid-systests-parent/pom.xml b/qpid-systests-parent/pom.xml index f15f728..ad1de64 100644 --- a/qpid-systests-parent/pom.xml +++ b/qpid-systests-parent/pom.xml @@ -38,6 +38,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> @@ -85,6 +86,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> @@ -235,4 +237,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]
