SLING-1404 - adding new property jetty.http.port to change jetty http port, defaults to 8888
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@915492 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index 021d92b..36fc2d7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -44,6 +44,9 @@
</scm>
<properties>
+ <!-- HTTP port to use when running mvn jetty:run -->
+ <jetty.http.port>8888</jetty.http.port>
+
<!-- path suffix for HTTP access to Sling -->
<http.base.path />
@@ -154,7 +157,7 @@
<connectors>
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
- <port>${http.port}</port>
+ <port>${jetty.http.port}</port>
<maxIdleTime>60000</maxIdleTime>
</connector>
</connectors>