You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by dd...@apache.org on 2004/10/14 22:31:48 UTC

svn commit: rev 54802 - portals/pluto/trunk

Author: ddewolf
Date: Thu Oct 14 13:31:47 2004
New Revision: 54802

Modified:
   portals/pluto/trunk/maven.xml
Log:
Add the documentation as the root context of tomcat in the binary distribution.

Modified: portals/pluto/trunk/maven.xml
==============================================================================
--- portals/pluto/trunk/maven.xml	(original)
+++ portals/pluto/trunk/maven.xml	Thu Oct 14 13:31:47 2004
@@ -137,7 +137,7 @@
     />
   </goal>
 
-  <goal name="distribute:binary" prereqs="distribute:init,multiproject:install">
+  <goal name="distribute:binary" prereqs="distribute:init,multiproject:install,multiproject:site">
     <!-- Set Some Default Properties -->
     <j:set var="dist.tomcat" 
            value="http://www.apache.org/dist/jakarta/tomcat-5/v5.0.28/bin/jakarta-tomcat-5.0.28.tar.gz"/>
@@ -168,14 +168,21 @@
 
     <!-- Cleanup the tomcat distribution; purge unwanted examples. -->
     <delete>
-      <fileset dir="${maven.dist.dir}/${plutobin.dist.name}/webapps" includes="**/*" excludes="ROOT/*"/>
+      <fileset dir="${maven.dist.dir}/${plutobin.dist.name}/webapps" includes="**"/>
+      <fileset dir="${maven.dist.dir}/${plutobin.dist.name}/webapps" includes="**/*.*"/>
       <fileset dir="${maven.dist.dir}/${plutobin.dist.name}/conf/Catalina/localhost" includes="**/*"/>
     </delete>
 
+
     <!-- Deploy Pluto (and it's licenses)! -->
     <copy todir="${maven.dist.dir}/${plutobin.dist.name}">
       <fileset dir="${basedir}" includes="LICENSE*"/>
       <fileset dir="${basedir}" includes="README"/>
+    </copy>
+
+    <!-- Pluto Documentation -->
+    <copy todir="${maven.dist.dir}/${plutobin.dist.name}/webapps/ROOT">
+      <fileset dir="${basedir}/target/docs" includes="**/*.*"/>
     </copy>
     
     <j:invokeStatic className="java.lang.System" method="setProperty">