activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r430998 - /incubator/activemq/trunk/activemq-web-console/pom.xml
Date Sat, 12 Aug 2006 08:57:07 GMT
Author: jstrachan
Date: Sat Aug 12 01:57:06 2006
New Revision: 430998

URL: http://svn.apache.org/viewvc?rev=430998&view=rev
Log:
made it easier to specify the port to use for running jetty

Modified:
    incubator/activemq/trunk/activemq-web-console/pom.xml

Modified: incubator/activemq/trunk/activemq-web-console/pom.xml
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-web-console/pom.xml?rev=430998&r1=430997&r2=430998&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-web-console/pom.xml (original)
+++ incubator/activemq/trunk/activemq-web-console/pom.xml Sat Aug 12 01:57:06 2006
@@ -1,27 +1,25 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
 <!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-   
-    http://www.apache.org/licenses/LICENSE-2.0
-   
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  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>
 
   <parent>
@@ -41,12 +39,18 @@
         <groupId>org.mortbay.jetty</groupId>
         <artifactId>maven-jetty-plugin</artifactId>
         <configuration>
-	  <systemProperties>
+          <connectors>
+            <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
+              <port>${jetty.port}</port>
+              <maxIdleTime>60000</maxIdleTime>
+            </connector>
+          </connectors>
+          <systemProperties>
             <!-- enable easy connection to JConsole -->
             <systemProperty>
-	      <name>com.sun.management.jmxremote</name>
+              <name>com.sun.management.jmxremote</name>
               <value></value>
-	    </systemProperty>
+            </systemProperty>
           </systemProperties>
           <scanIntervalSeconds>10</scanIntervalSeconds>
         </configuration>
@@ -54,22 +58,22 @@
     </plugins>
   </build>
 
-   <pluginRepositories>
+  <pluginRepositories>
     <pluginRepository>
       <id>mortbay-repo</id>
       <name>mortbay-repo</name>
       <url>http://www.mortbay.org/maven2/snapshot</url>
     </pluginRepository>
   </pluginRepositories>
-  
+
   <dependencies>
-  
+
     <dependency>
       <groupId>org.mortbay.jetty</groupId>
       <artifactId>servlet-api-2.5</artifactId>
       <scope>provided</scope>
     </dependency>
-    
+
     <!-- j2ee jars -->
     <dependency>
       <groupId>org.apache.geronimo.specs</groupId>
@@ -99,7 +103,7 @@
       <groupId>${pom.groupId}</groupId>
       <artifactId>activemq-core</artifactId>
     </dependency>
-        <dependency>
+    <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>activeio-core</artifactId>
     </dependency>
@@ -117,37 +121,37 @@
       <groupId>org.apache.xbean</groupId>
       <artifactId>xbean-spring</artifactId>
     </dependency>
-    
+
     <!-- web container -->
     <dependency>
       <groupId>org.mortbay.jetty</groupId>
       <artifactId>jetty</artifactId>
       <scope>test</scope>
     </dependency>
-      <dependency>
-        <groupId>org.mortbay.jetty</groupId>
-        <artifactId>jetty-util</artifactId>
-        <scope>test</scope>
-      </dependency>
-
-      <!-- enable commons-logging when inside jetty6:run -->
-      <dependency>
-			  <groupId>org.slf4j</groupId>
-			  <artifactId>slf4j-jcl</artifactId>
-			  <version>1.0-rc5</version>
-        <!--
+    <dependency>
+      <groupId>org.mortbay.jetty</groupId>
+      <artifactId>jetty-util</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+    <!-- enable commons-logging when inside jetty6:run -->
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-jcl</artifactId>
+      <version>1.0-rc5</version>
+      <!--
         <scope>optional</scope>
-        -->
-      </dependency>
+      -->
+    </dependency>
 
-  
-      <!-- SiteMesh for layout -->
+
+    <!-- SiteMesh for layout -->
     <dependency>
       <groupId>opensymphony</groupId>
       <artifactId>sitemesh</artifactId>
       <version>2.2.1</version>
     </dependency>
-    
+
     <!-- JSTL support -->
     <dependency>
       <groupId>javax.servlet</groupId>
@@ -159,26 +163,26 @@
       <artifactId>standard</artifactId>
       <version>1.1.2</version>
     </dependency>
-    
+
 
     <!-- XStream marshalling -->
     <dependency>
       <groupId>xmlpull</groupId>
       <artifactId>xmlpull</artifactId>
-    </dependency>    
+    </dependency>
 
     <dependency>
       <groupId>xstream</groupId>
       <artifactId>xstream</artifactId>
-    </dependency>    
-    
+    </dependency>
+
     <!-- used for testing -->
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
       <scope>test</scope>
     </dependency>
-    
+
     <!-- Derby SQL DB used for testing JDBC message store -->
     <dependency>
       <groupId>org.apache.derby</groupId>
@@ -186,4 +190,7 @@
     </dependency>
   </dependencies>
 
+  <properties>
+    <jetty.port>8080</jetty.port>
+  </properties>
 </project>



Mime
View raw message