You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by cc...@apache.org on 2009/10/13 08:59:34 UTC

svn commit: r824610 - /servicemix/components/bindings/servicemix-jms/trunk/pom.xml

Author: ccustine
Date: Tue Oct 13 06:59:34 2009
New Revision: 824610

URL: http://svn.apache.org/viewvc?rev=824610&view=rev
Log:
SMXCOMP-647 - Use dynamic ports for tests
- servicemix-jms

Modified:
    servicemix/components/bindings/servicemix-jms/trunk/pom.xml

Modified: servicemix/components/bindings/servicemix-jms/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/components/bindings/servicemix-jms/trunk/pom.xml?rev=824610&r1=824609&r2=824610&view=diff
==============================================================================
--- servicemix/components/bindings/servicemix-jms/trunk/pom.xml (original)
+++ servicemix/components/bindings/servicemix-jms/trunk/pom.xml Tue Oct 13 06:59:34 2009
@@ -313,8 +313,33 @@
           </excludes>
           <forkedProcessTimeoutInSeconds>90</forkedProcessTimeoutInSeconds>
           <forkMode>pertest</forkMode>
+          <systemProperties>
+            <property>
+              <name>activemq.port1</name>
+              <value>${activemq.port1}</value>
+            </property>
+          </systemProperties>
         </configuration>
       </plugin>
+        <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>build-helper-maven-plugin</artifactId>
+            <version>1.4</version>
+            <executions>
+                <execution>
+                    <id>reserve-network-port</id>
+                    <goals>
+                        <goal>reserve-network-port</goal>
+                    </goals>
+                    <phase>process-resources</phase>
+                    <configuration>
+                        <portNames>
+                            <portName>activemq.port1</portName>
+                        </portNames>
+                    </configuration>
+                </execution>
+            </executions>
+        </plugin>
     </plugins>
   </build>
 </project>