made it easier to specify the port to use for running jetty

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@430997 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2006-08-12 08:55:57 +00:00
parent 7711c7450d
commit 492952b4bb
1 changed files with 37 additions and 31 deletions

View File

@ -17,10 +17,8 @@
limitations under the License. limitations under the License.
--> -->
<project <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
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">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -39,9 +37,14 @@
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.mortbay.jetty</groupId> <groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty6-plugin</artifactId> <artifactId>maven-jetty-plugin</artifactId>
<version>${jetty-version}</version>
<configuration> <configuration>
<connectors>
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
<port>${jetty.port}</port>
<maxIdleTime>60000</maxIdleTime>
</connector>
</connectors>
<scanIntervalSeconds>10</scanIntervalSeconds> <scanIntervalSeconds>10</scanIntervalSeconds>
</configuration> </configuration>
</plugin> </plugin>
@ -132,4 +135,7 @@
</dependency> </dependency>
</dependencies> </dependencies>
<properties>
<jetty.port>8080</jetty.port>
</properties>
</project> </project>