You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by ma...@apache.org on 2012/09/29 18:34:10 UTC

svn commit: r1391834 - /sis/trunk/sis-webapp/pom.xml

Author: mattmann
Date: Sat Sep 29 16:34:10 2012
New Revision: 1391834

URL: http://svn.apache.org/viewvc?rev=1391834&view=rev
Log:
Another attempt at fixing SIS-58.

Modified:
    sis/trunk/sis-webapp/pom.xml

Modified: sis/trunk/sis-webapp/pom.xml
URL: http://svn.apache.org/viewvc/sis/trunk/sis-webapp/pom.xml?rev=1391834&r1=1391833&r2=1391834&view=diff
==============================================================================
--- sis/trunk/sis-webapp/pom.xml (original)
+++ sis/trunk/sis-webapp/pom.xml Sat Sep 29 16:34:10 2012
@@ -54,6 +54,25 @@
 
   <build>
     <plugins>
+    <plugin>
+    <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId> 
+        <executions>
+ 
+          <execution>
+            <id>reserve-ports</id>
+            <phase>initialize</phase>
+            <goals>
+              <goal>reserve-network-port</goal>
+            </goals>
+            <configuration>
+              <portNames>
+                <portName>jettyPort</portName>
+              </portNames> 
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>    
       <plugin>
         <groupId>org.mortbay.jetty</groupId>
         <artifactId>jetty-maven-plugin</artifactId>
@@ -70,10 +89,9 @@
             <configuration>
               <connectors>
                 <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
-                  <port>50234</port>
+                  <port>${jettyPort}</port>
                 </connector>
               </connectors>
-              <stopPort>50500</stopPort>
               <scanIntervalSeconds>10</scanIntervalSeconds>
               <daemon>true</daemon>
               <systemProperties>