mirror of https://github.com/apache/activemq.git
made it easier to specify the port to use for running jetty
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@430998 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
492952b4bb
commit
b84c864d85
|
@ -17,10 +17,8 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
|
||||
<project
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://maven.apache.org/POM/4.0.0">
|
||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -41,6 +39,12 @@
|
|||
<groupId>org.mortbay.jetty</groupId>
|
||||
<artifactId>maven-jetty-plugin</artifactId>
|
||||
<configuration>
|
||||
<connectors>
|
||||
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
|
||||
<port>${jetty.port}</port>
|
||||
<maxIdleTime>60000</maxIdleTime>
|
||||
</connector>
|
||||
</connectors>
|
||||
<systemProperties>
|
||||
<!-- enable easy connection to JConsole -->
|
||||
<systemProperty>
|
||||
|
@ -186,4 +190,7 @@
|
|||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<properties>
|
||||
<jetty.port>8080</jetty.port>
|
||||
</properties>
|
||||
</project>
|
||||
|
|
Loading…
Reference in New Issue