You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kalumet-commits@incubator.apache.org by ol...@apache.org on 2011/12/02 13:32:58 UTC
svn commit: r1209471 - in /incubator/kalumet/trunk: console/pom.xml
console/src/main/webapp/WEB-INF/web.xml pom.xml
Author: olamy
Date: Fri Dec 2 13:32:57 2011
New Revision: 1209471
URL: http://svn.apache.org/viewvc?rev=1209471&view=rev
Log:
start configuring tomcat maven plugin to be able to run the app without any install first from the top with a simple tomcat:run
Modified:
incubator/kalumet/trunk/console/pom.xml
incubator/kalumet/trunk/console/src/main/webapp/WEB-INF/web.xml
incubator/kalumet/trunk/pom.xml
Modified: incubator/kalumet/trunk/console/pom.xml
URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/console/pom.xml?rev=1209471&r1=1209470&r2=1209471&view=diff
==============================================================================
--- incubator/kalumet/trunk/console/pom.xml (original)
+++ incubator/kalumet/trunk/console/pom.xml Fri Dec 2 13:32:57 2011
@@ -112,6 +112,14 @@
<webApp>${basedir}/target/${project.artifactId}-${project.version}.war</webApp>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>tomcat-maven-plugin</artifactId>
+ <configuration>
+ <port>8181</port>
+ <path>/apache-kalumet-console</path>
+ </configuration>
+ </plugin>
</plugins>
</build>
Modified: incubator/kalumet/trunk/console/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/console/src/main/webapp/WEB-INF/web.xml?rev=1209471&r1=1209470&r2=1209471&view=diff
==============================================================================
--- incubator/kalumet/trunk/console/src/main/webapp/WEB-INF/web.xml (original)
+++ incubator/kalumet/trunk/console/src/main/webapp/WEB-INF/web.xml Fri Dec 2 13:32:57 2011
@@ -1,9 +1,28 @@
<?xml version="1.0"?>
-<!DOCTYPE web-app PUBLIC
- "-//Sun Microsystems, Inc.//DTD Web Application 2.4//EN"
- "http://java.sun.com/dtd/web-app_2_4.dtd">
-<web-app>
+<!--
+ ~ 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.
+ -->
+
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
<display-name>Apache Kalumet Console</display-name>
Modified: incubator/kalumet/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/pom.xml?rev=1209471&r1=1209470&r2=1209471&view=diff
==============================================================================
--- incubator/kalumet/trunk/pom.xml (original)
+++ incubator/kalumet/trunk/pom.xml Fri Dec 2 13:32:57 2011
@@ -419,6 +419,11 @@
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>tomcat-maven-plugin</artifactId>
+ <version>1.1</version>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>