[hornetq-commits] JBoss hornetq SVN: r10737 - in trunk/tests: jms-tests and 1 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu May 26 08:28:45 EDT 2011


Author: borges
Date: 2011-05-26 08:28:45 -0400 (Thu, 26 May 2011)
New Revision: 10737

Modified:
   trunk/tests/integration-tests/pom.xml
   trunk/tests/jms-tests/pom.xml
   trunk/tests/timing-tests/pom.xml
Log:
Fix some test dependency relations

Modified: trunk/tests/integration-tests/pom.xml
===================================================================
--- trunk/tests/integration-tests/pom.xml	2011-05-26 10:06:07 UTC (rev 10736)
+++ trunk/tests/integration-tests/pom.xml	2011-05-26 12:28:45 UTC (rev 10737)
@@ -1,5 +1,5 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
       <groupId>org.hornetq.tests</groupId>
@@ -48,7 +48,7 @@
       </dependency>
       <dependency>
          <groupId>org.hornetq</groupId>
-         <artifactId>hornetq-logging</artifactId>
+         <artifactId>hornetq-commons</artifactId>
          <version>${project.version}</version>
       </dependency>
       <dependency>
@@ -87,13 +87,24 @@
       <plugins>
          <plugin>
             <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-jar-plugin</artifactId>
+            <executions>
+               <execution>
+                  <goals>
+                     <goal>test-jar</goal>
+                  </goals>
+               </execution>
+            </executions>
+         </plugin>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-surefire-plugin</artifactId>
             <configuration>
                <skipTests>${skipIntegrationTests}</skipTests>
                <excludes>
                   <exclude>**/ReplicatedJMSFailoverTest.java</exclude>
                   <exclude>org/hornetq/tests/util/*.java</exclude>
-                  <!--exclude any replication tests for now-->
+                  <!--exclude any replication tests for now -->
                   <exclude>**/cluster/failover/*ClusterWithBackupFailoverTestBase.java</exclude>
                   <exclude>**/cluster/**/*/java</exclude>
                   <exclude>**/cluster/failover/*DiscoveryClusterWithBackupFailoverTest.java</exclude>
@@ -108,20 +119,9 @@
                   <exclude>**/cluster/failover/Remote*.java</exclude>
                   <exclude>**/failover/remote/**.java</exclude>
                </excludes>
-              <argLine>-Djava.library.path=${user.dir}/distribution/hornetq/src/main/resources/bin</argLine>
-         </configuration>
+               <argLine>-Djava.library.path=${user.dir}/distribution/hornetq/src/main/resources/bin</argLine>
+            </configuration>
          </plugin>
-         <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-jar-plugin</artifactId>
-            <executions>
-               <execution>
-                  <goals>
-                     <goal>test-jar</goal>
-                  </goals>
-               </execution>
-            </executions>
-         </plugin>
       </plugins>
    </build>
 

Modified: trunk/tests/jms-tests/pom.xml
===================================================================
--- trunk/tests/jms-tests/pom.xml	2011-05-26 10:06:07 UTC (rev 10736)
+++ trunk/tests/jms-tests/pom.xml	2011-05-26 12:28:45 UTC (rev 10737)
@@ -1,5 +1,5 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
       <groupId>org.hornetq.tests</groupId>
@@ -70,7 +70,7 @@
          <groupId>org.jboss.javaee</groupId>
          <artifactId>jboss-transaction-api</artifactId>
       </dependency>
-      <!--this specifically for the JMS Bridge-->
+      <!--this specifically for the JMS Bridge -->
       <dependency>
          <groupId>org.jboss.integration</groupId>
          <artifactId>jboss-transaction-spi</artifactId>
@@ -89,6 +89,17 @@
       <plugins>
          <plugin>
             <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-jar-plugin</artifactId>
+            <executions>
+               <execution>
+                  <goals>
+                     <goal>test-jar</goal>
+                  </goals>
+               </execution>
+            </executions>
+         </plugin>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-surefire-plugin</artifactId>
             <configuration>
                <skipTests>${skipJmsTests}</skipTests>

Modified: trunk/tests/timing-tests/pom.xml
===================================================================
--- trunk/tests/timing-tests/pom.xml	2011-05-26 10:06:07 UTC (rev 10736)
+++ trunk/tests/timing-tests/pom.xml	2011-05-26 12:28:45 UTC (rev 10737)
@@ -41,9 +41,18 @@
          <type>test-jar</type>
       </dependency>
       <dependency>
+         <groupId>org.hornetq.tests</groupId>
+         <artifactId>jms-tests</artifactId>
+         <version>${project.version}</version>
+         <scope>test</scope>
+         <type>test-jar</type>
+      </dependency>
+      <dependency>
          <groupId>org.hornetq</groupId>
          <artifactId>hornetq-jms</artifactId>
          <version>${project.version}</version>
+         <scope>test</scope>
+         <type>test-jar</type>
       </dependency>
       <dependency>
          <groupId>org.hornetq</groupId>



More information about the hornetq-commits mailing list