Repository: qpid-broker-j
Updated Branches:
  refs/heads/master 8c6b678c3 -> d44c176bb


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/d44c176b
Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/d44c176b
Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/d44c176b

Branch: refs/heads/master
Commit: d44c176bb9de9f5360ef2d5e809381cc752710f4
Parents: 8c6b678
Author: Alex Rudyy <[email protected]>
Authored: Fri May 26 16:38:24 2017 +0100
Committer: Alex Rudyy <[email protected]>
Committed: Fri May 26 16:38:24 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/d44c176b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 9cb53fc..0c7de1a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -81,7 +81,7 @@
     <java.target>1.8</java.target>
 
     <!-- enforcer plugin config properties -->
-    
<supported-test-profiles-regex>(java-mms.0-9|java-mms.0-9-1|java-mms.0-10|java-mms.1-0|java-bdb.0-9|java-bdb.0-9-1|java-bdb.0-10|java-bdb.1-0|java-dby.0-9|java-dby.0-9-1|java-dby.0-10|java-dby.1-0|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|java-json.1-0)</supported-test-profiles-regex>
+    
<supported-test-profiles-regex>(java-mms.0-9|java-mms.0-9-1|java-mms.0-10|java-mms.1-0|java-bdb.0-9|java-bdb.0-9-1|java-bdb.0-10|java-bdb.1-0|java-dby.0-9|java-dby.0-9-1|java-dby.0-10|java-dby.1-0|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|java-json.1-0|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/d44c176b/qpid-systests-parent/pom.xml
----------------------------------------------------------------------
diff --git a/qpid-systests-parent/pom.xml b/qpid-systests-parent/pom.xml
index 2ffbcb4..b95f65a 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>false</skip.systests>
   </properties>
 
   <dependencies>
@@ -82,6 +83,7 @@
           <systemPropertyVariables>
             <test.output.dir>${test.output.dir}</test.output.dir>
           </systemPropertyVariables>
+          <skipTests>${skip.systests}</skipTests>
         </configuration>
         <executions>
           <execution>
@@ -232,4 +234,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]

Reply via email to