You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by or...@apache.org on 2017/02/13 14:58:11 UTC

svn commit: r1782790 - in /qpid/java/trunk: joramtests/pom.xml systests/qpid-systests-jms_2.0/pom.xml

Author: orudyy
Date: Mon Feb 13 14:58:11 2017
New Revision: 1782790

URL: http://svn.apache.org/viewvc?rev=1782790&view=rev
Log:
NO-JIRA: Skip jms20 test execution if specified profile is not for AMQP 1.0

Modified:
    qpid/java/trunk/joramtests/pom.xml
    qpid/java/trunk/systests/qpid-systests-jms_2.0/pom.xml

Modified: qpid/java/trunk/joramtests/pom.xml
URL: http://svn.apache.org/viewvc/qpid/java/trunk/joramtests/pom.xml?rev=1782790&r1=1782789&r2=1782790&view=diff
==============================================================================
--- qpid/java/trunk/joramtests/pom.xml (original)
+++ qpid/java/trunk/joramtests/pom.xml Mon Feb 13 14:58:11 2017
@@ -74,7 +74,6 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-failsafe-plugin</artifactId>
-                <version>2.18.1</version>
                 <executions>
                     <execution>
                         <goals>

Modified: qpid/java/trunk/systests/qpid-systests-jms_2.0/pom.xml
URL: http://svn.apache.org/viewvc/qpid/java/trunk/systests/qpid-systests-jms_2.0/pom.xml?rev=1782790&r1=1782789&r2=1782790&view=diff
==============================================================================
--- qpid/java/trunk/systests/qpid-systests-jms_2.0/pom.xml (original)
+++ qpid/java/trunk/systests/qpid-systests-jms_2.0/pom.xml Mon Feb 13 14:58:11 2017
@@ -69,9 +69,49 @@
     </dependency>
 
     <dependency>
-      <groupId>org.apache.qpid</groupId>
-      <artifactId>qpid-jms-client</artifactId>
+      <groupId>org.apache.geronimo.specs</groupId>
+      <artifactId>geronimo-jms_2.0_spec</artifactId>
     </dependency>
   </dependencies>
 
+  <profiles>
+    <profile>
+      <id>addQpidJmsClientIfNecessary</id>
+      <activation>
+        <property>
+          <name>enableAmqp1-0</name>
+        </property>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.qpid</groupId>
+          <artifactId>qpid-jms-client</artifactId>
+        </dependency>
+      </dependencies>
+    </profile>
+
+    <profile>
+      <id>excludesTestsIfNotAmqp1-0</id>
+      <activation>
+        <property>
+          <name>!enableAmqp1-0</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <excludes>
+                <exclude>**/*</exclude>
+              </excludes>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+
+  </profiles>
+
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org