You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2006/03/25 14:55:22 UTC

svn commit: r388761 - in /cocoon/trunk/cocoon-webapp: pom.xml src/main/webapp/apps/ src/main/webapp/apps/sitemap.xmap

Author: reinhard
Date: Sat Mar 25 05:55:21 2006
New Revision: 388761

URL: http://svn.apache.org/viewcvs?rev=388761&view=rev
Log:
add Cocoon deployment plugin

Added:
    cocoon/trunk/cocoon-webapp/src/main/webapp/apps/
    cocoon/trunk/cocoon-webapp/src/main/webapp/apps/sitemap.xmap
Modified:
    cocoon/trunk/cocoon-webapp/pom.xml

Modified: cocoon/trunk/cocoon-webapp/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-webapp/pom.xml?rev=388761&r1=388760&r2=388761&view=diff
==============================================================================
--- cocoon/trunk/cocoon-webapp/pom.xml (original)
+++ cocoon/trunk/cocoon-webapp/pom.xml Sat Mar 25 05:55:21 2006
@@ -62,6 +62,8 @@
               <maxIdleTime>30000</maxIdleTime>
             </connector>
           </connectors>
+          <webAppSourceDirectory>./target/cocoon-webapp</webAppSourceDirectory>
+          <contextPath>/</contextPath>
           <systemProperties>
             <systemProperty>
               <name>org.apache.commons.logging.Log</name>
@@ -71,6 +73,7 @@
         </configuration>
       </plugin>
     </plugins>
+    <finalName>cocoon-webapp</finalName>
   </build>
   
   <dependencies>
@@ -79,11 +82,11 @@
       <artifactId>cocoon-core</artifactId>
       <version>2.2.0-SNAPSHOT</version>
     </dependency>
-    <dependency>
+    <!--dependency> cocoon-session-fw-sample doesn't work because of old-style xconf/roles-files
       <groupId>org.apache.cocoon</groupId>
       <artifactId>cocoon-session-fw-sample</artifactId>
       <version>1.0-SNAPSHOT</version>
-    </dependency>
+    </dependency-->
     <dependency>
       <groupId>org.apache.cocoon</groupId>
       <artifactId>cocoon-deployer-plugin-demo</artifactId>

Added: cocoon/trunk/cocoon-webapp/src/main/webapp/apps/sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-webapp/src/main/webapp/apps/sitemap.xmap?rev=388761&view=auto
==============================================================================
--- cocoon/trunk/cocoon-webapp/src/main/webapp/apps/sitemap.xmap (added)
+++ cocoon/trunk/cocoon-webapp/src/main/webapp/apps/sitemap.xmap Sat Mar 25 05:55:21 2006
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2006 The Apache Software Foundation
+
+  Licensed 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.
+-->
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+  <map:pipelines>
+    <map:pipeline>
+      <map:match pattern="*/**">
+        <map:mount uri-prefix="{1}" src="{1}/"/>
+      </map:match>
+    </map:pipeline>
+  </map:pipelines>
+</map:sitemap>