sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattm...@apache.org
Subject svn commit: r1391834 - /sis/trunk/sis-webapp/pom.xml
Date Sat, 29 Sep 2012 16:34:10 GMT
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>



Mime
View raw message