You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ch...@apache.org on 2006/01/09 07:54:14 UTC

svn commit: r367229 [1/2] - in /webservices/axis2/trunk/java: ./ modules/adb/ modules/core/ modules/tool/src/org/apache/axis2/tool/codegen/ release-docs/ release-docs/maven-scripts/ release-docs/readme-files/ release-docs/release-etc/ release-docs/rele...

Author: chinthaka
Date: Sun Jan  8 22:53:43 2006
New Revision: 367229

URL: http://svn.apache.org/viewcvs?rev=367229&view=rev
Log:
- Fixing compile error
- Applying Azeez' patch on Axis2 packaging. Thanks Azeez.

Added:
    webservices/axis2/trunk/java/release-docs/
    webservices/axis2/trunk/java/release-docs/maven-scripts/
    webservices/axis2/trunk/java/release-docs/maven-scripts/maven-min.xml
    webservices/axis2/trunk/java/release-docs/maven-scripts/maven-std.xml
    webservices/axis2/trunk/java/release-docs/readme-files/
    webservices/axis2/trunk/java/release-docs/readme-files/README-docs.txt
    webservices/axis2/trunk/java/release-docs/readme-files/README-min-bin.txt
    webservices/axis2/trunk/java/release-docs/readme-files/README-min-src.txt
    webservices/axis2/trunk/java/release-docs/readme-files/README-std-bin.txt
    webservices/axis2/trunk/java/release-docs/readme-files/README-std-src.txt
    webservices/axis2/trunk/java/release-docs/release-etc/
    webservices/axis2/trunk/java/release-docs/release-etc/min/
    webservices/axis2/trunk/java/release-docs/release-etc/min/project.properties
    webservices/axis2/trunk/java/release-docs/release-etc/std/
    webservices/axis2/trunk/java/release-docs/release-etc/std/project.properties
Modified:
    webservices/axis2/trunk/java/maven.xml
    webservices/axis2/trunk/java/modules/adb/project.xml
    webservices/axis2/trunk/java/modules/core/project.xml
    webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/WSDL2JavaGenerator.java
    webservices/axis2/trunk/java/release-notes.html

Modified: webservices/axis2/trunk/java/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/maven.xml?rev=367229&r1=367228&r2=367229&view=diff
==============================================================================
--- webservices/axis2/trunk/java/maven.xml (original)
+++ webservices/axis2/trunk/java/maven.xml Sun Jan  8 22:53:43 2006
@@ -35,23 +35,20 @@
      | maven war-withsamples
      |    build the war with the default samples
      |
-     | dist-src
-     |  Source Distribution
-     |
-     | dist-bin
-     |      Binary Distribution
-     |
+     | release
+     | 	 Creates the complete release
    -->
 
 <project default="jar"
-    xmlns:j="jelly:core"
-    xmlns:u="jelly:util"
-    xmlns:deploy="deploy"
-    xmlns:modules="local:modules"
-    xmlns:ant="jelly:ant"
-    xmlns:plugin="plugin"
-    xmlns:maven="jelly:maven"
-    xmlns:define="jelly:define">
+         xmlns:j="jelly:core"
+         xmlns:u="jelly:util"
+         xmlns:deploy="deploy"
+         xmlns:modules="local:modules"
+         xmlns:ant="jelly:ant"
+         xmlns:plugin="plugin"
+         xmlns:macros="macros"
+         xmlns:maven="jelly:maven"
+         xmlns:define="jelly:define">
 
     <j:set var="dist.name" value="${pom.artifactId}-${pom.currentVersion}"/>
     <j:set var="dist.dir" value="target/dist"/>
@@ -62,8 +59,8 @@
         <j:set var="version" value="1.0"/>
         <attainGoal name="plugin:download-artifact"/>
         <maven:installPlugin
-            file="${maven.repo.local}/${groupId}/plugins/${artifactId}-${version}.jar"
-            cache="true" />
+                file="${maven.repo.local}/${groupId}/plugins/${artifactId}-${version}.jar"
+                cache="true"/>
     </preGoal>
 
     <!-- ======= -->
@@ -148,7 +145,8 @@
                | the baseddir portion of the file's name.  So this will essentially strip off
                | ${basedir}
              -->
-            <j:set var="directory" value="${file.parentFile.parentFile.name}/${file.parentFile.name}"/>
+            <j:set var="directory"
+                   value="${file.parentFile.parentFile.name}/${file.parentFile.name}"/>
             <j:set var="filename" value="${directory}/${file.name}"/>
             <j:choose>
                 <j:when test="${context.getVariable('modules.reactor.includes') == null}">
@@ -157,7 +155,8 @@
                 </j:when>
                 <j:otherwise>
                     <j:set var="modules.directories" value="${modules.directories},${directory}"/>
-                    <j:set var="modules.reactor.includes" value="${modules.reactor.includes},${filename}"/>
+                    <j:set var="modules.reactor.includes"
+                           value="${modules.reactor.includes},${filename}"/>
                 </j:otherwise>
             </j:choose>
         </j:forEach>
@@ -171,22 +170,22 @@
             <j:choose>
                 <j:when test="${goals != null}">
                     <maven:reactor
-                        basedir="${basedir}"
-                        includes="${modules.reactor.includes}"
-                        banner="Executing (${goals}):"
-                        ignoreFailures="false"
-                        goals="${goals}"
-                        postProcessing="true"
-                        />
+                            basedir="${basedir}"
+                            includes="${modules.reactor.includes}"
+                            banner="Executing (${goals}):"
+                            ignoreFailures="false"
+                            goals="${goals}"
+                            postProcessing="true"
+                            />
                 </j:when>
                 <j:when test="${goals == null}">
                     <maven:reactor
-                        basedir="${basedir}"
-                        includes="${modules.reactor.includes}"
-                        banner="Executing (${goals}):"
-                        ignoreFailures="false"
-                        postProcessing="true"
-                        />
+                            basedir="${basedir}"
+                            includes="${modules.reactor.includes}"
+                            banner="Executing (${goals}):"
+                            ignoreFailures="false"
+                            postProcessing="true"
+                            />
                 </j:when>
             </j:choose>
 
@@ -225,8 +224,10 @@
                         <j:set var="maven.multiproject.includes" value="${include}"/>
                     </j:when>
                     <j:otherwise>
-                        <j:set var="modules.directories" value="${modules.directories},${directory}"/>
-                        <j:set var="maven.multiproject.includes" value="${maven.multiproject.includes},${include}"/>
+                        <j:set var="modules.directories"
+                               value="${modules.directories},${directory}"/>
+                        <j:set var="maven.multiproject.includes"
+                               value="${maven.multiproject.includes},${include}"/>
                     </j:otherwise>
                 </j:choose>
             </j:if>
@@ -236,7 +237,7 @@
     <goal name="jar:jar">
         <attainGoal name="create-jar"/>
         <ant:copy file="target/lib/axis2-${pom.currentVersion}.jar"
-            toDir="target/"/>
+                  toDir="target/"/>
     </goal>
 
     <goal name="jar">
@@ -244,13 +245,12 @@
         <attainGoal name="jar:install"/>
     </goal>
 
-
     <goal name="init">
         <ant:mkdir dir="target"/>
         <ant:mkdir dir="${dist.dir}"/>
         <ant:mkdir dir="target/lib"/>
 
-        <uptodate property="jars.uptodate" targetfile="target/axis2.war">
+        <uptodate property="jars.uptodate" targetfile="target/axis2-${pom.currentVersion}.war">
             <srcfiles dir="modules">
                 <include name="**/*.java"/>
                 <include name="**/*.xml"/>
@@ -261,12 +261,22 @@
         <echo message="the files are up to date = ${jars.uptodate}"></echo>
     </goal>
 
+    <goal name="init-dist">
+        <ant:filter token="axis2_version" value="${pom.currentVersion}"/>
+        <ant:filter token="release_date" value="${release_date}"/>
+
+        <property name="min_dep_cache" value="target/temp/cache/min"/>
+        <property name="std_dep_cache" value="target/temp/cache/std"/>
+
+        <ant:mkdir dir="target/dist"/>
+    </goal>
+
     <goal name="modules:clean">
         <attainGoal name="modules:reactor:init"/>
         <u:tokenize var="directories" delim=",">${modules.directories}</u:tokenize>
         <j:forEach var="directory" items="${directories}">
             <ant:echo>+----------------------------------------</ant:echo>
-            <ant:echo>| Cleaning: ${directory} </ant:echo>
+            <ant:echo>| Cleaning: ${directory}</ant:echo>
             <ant:echo>+----------------------------------------</ant:echo>
             <ant:delete dir="${directory}/target"/>
             <ant:delete quiet="false" failonerror="false">
@@ -282,7 +292,7 @@
             <ant:echo></ant:echo>
         </j:forEach>
         <ant:echo>+----------------------------------------</ant:echo>
-        <ant:echo>| Cleaning: target and etc/target  </ant:echo>
+        <ant:echo>| Cleaning: target and etc/target</ant:echo>
         <ant:echo>+----------------------------------------</ant:echo>
         <ant:delete dir="target"/>
         <ant:delete dir="etc/target"/>
@@ -342,34 +352,44 @@
     </goal>
 
     <goal name="create-lib">
-        <attainGoal name="modules:reactor:init"/>
-        <maven:reactor
-            basedir="${basedir}"
-            postProcessing="true"
-            includes="${modules.reactor.includes}"
-            banner="Executing (${goals}):"
-            ignoreFailures="false"/>
-        <j:forEach var="x" items="${reactorProjects}">
-            <ant:echo message="${x}"/>
-            <deploy:copy-deps todir="target/lib"
-                projectDescriptor="${x.getFile()}"/>
-        </j:forEach>
+        <macros:copy-deps copyToDir="${target/lib}"/>
     </goal>
 
     <!-- ================================================================ -->
     <!--- Create the War -->
     <!-- ================================================================ -->
+    <goal name="war" prereqs="init-dist,cache-min-deps">
+        <ant:mkdir dir="target/temp/war/lib"/>
+        <ant:mkdir dir="target/temp/war/toWEB-INF/modules"/>
+        <ant:mkdir dir="target/temp/war/toWEB-INF/services"/>
+
+        <!-- Create axis2-core.jar -->
+        <jar destfile="target/temp/war/lib/axis2-core-${pom.currentVersion}.jar">
+            <fileset dir="modules/core/target/classes/"/>
+            <fileset dir="modules/common/target/classes/"/>
+            <fileset dir="modules/xml/target/classes/"/>
+            <fileset dir="modules/wsdl/target/classes/"/>
+        </jar>
 
+        <!-- Copy the adb jar -->
+        <ant:copy toDir="target/temp/war/lib">
+            <ant:fileset file="modules/adb/target/axis2-adb-${pom.currentVersion}.jar"/>
+        </ant:copy>
 
-    <goal name="war" prereqs="init">
-        <j:if test="${jars.uptodate != 'yes'}">
-            <attainGoal name="jar"/>
-            <attainGoal name="create-lib"/>
-        </j:if>
-        <!-- jar the test classes -->
-        <ant:war destfile="target/axis2.war" webxml="modules/core/conf/web.xml">
-            <ant:fileset dir="modules/core/webapp"/>
-            <ant:lib dir="target/lib">
+        <!-- copy the addressing mar -->
+        <ant:copy toDir="target/temp/war/toWEB-INF/modules">
+            <ant:fileset file="modules/addressing/target/addressing.mar"/>
+        </ant:copy>
+
+        <!-- copy the sample services -->
+        <ant:copy toDir="target/temp/war/toWEB-INF/services">
+            <ant:fileset file="modules/samples/target/toWar/services/version.aar"/>
+        </ant:copy>
+
+        <ant:war destfile="target/dist/axis2-${pom.currentVersion}.war"
+                 webxml="modules/webapp/conf/web.xml">
+            <ant:fileset dir="modules/webapp"/>
+            <ant:lib dir="${min_dep_cache}">
                 <ant:include name="**"/>
                 <ant:exclude name="**servlet**"/>
                 <ant:exclude name="ant*.jar"/>
@@ -377,132 +397,300 @@
             <ant:classes dir="modules/core/conf">
                 <ant:include name="*.properties"/>
             </ant:classes>
-            <ant:webinf dir="modules/samples/target/toWar/"/>
             <ant:webinf dir="modules/core/src/org/apache/axis2/deployment">
                 <ant:include name="*.xml"/>
             </ant:webinf>
+            <ant:webinf dir="target/temp/war/toWEB-INF"/>
         </ant:war>
     </goal>
+
     <!-- to transforme htmls to xdocs -->
     <preGoal name="xdoc:jelly-transform">
         <attainGoal name="html2xdoc"/>
     </preGoal>
 
     <!-- ================================================================ -->
-    <!--- Create the Binary Distribution -->
+    <!--- Create the Release -->
     <!-- ================================================================ -->
+    <goal name="release"
+          prereqs="jar,dist-min-bin,dist-min-src,dist-std-bin,dist-std-src,dist-war,dist-docs">
+        <ant:echo>+----------------------------------------------</ant:echo>
+        <ant:echo>| Creating: Axis2 Distributions</ant:echo>
+        <ant:echo>+----------------------------------------------</ant:echo>
+
+        <ant:copy toDir="target/dist">
+            <ant:fileset file="modules/addressing/target/addressing.mar"/>
+            <ant:fileset file="modules/security/target/security.mar"/>
+        </ant:copy>
 
-    <goal name="dist-bin" prereqs="war,javadocs">
-        <property name="bin.dist.dir" value="target/dist-bin/axis2-${pom.currentVersion}-bin"/>
-        <ant:mkdir dir="${bin.dist.dir}"/>
-        <ant:mkdir dir="${bin.dist.dir}/docs"/>
-        <ant:mkdir dir="${bin.dist.dir}/bin"/>
-        <ant:mkdir dir="${bin.dist.dir}/lib"/>
-        <ant:mkdir dir="${bin.dist.dir}/samples"/>
-        <ant:mkdir dir="${bin.dist.dir}/docs/api"/>
+        <ant:delete dir="target/temp" />
+        <ant:delete dir="target/apidocs" />
+    </goal>
 
-        <ant:copy todir="${bin.dist.dir}/docs/api">
-            <ant:fileset dir="target/apidocs/">
-                <ant:include name="**"/>
-            </ant:fileset>
+    <goal name="dist-min-bin" prereqs="init-dist,cache-min-deps">
+        <ant:echo>+----------------------------------------------</ant:echo>
+        <ant:echo>| Creating: Axis2 Minimal Binary Distribution</ant:echo>
+        <ant:echo>+----------------------------------------------</ant:echo>
+
+        <ant:mkdir dir="target/dist"/>
+        <ant:mkdir dir="target/temp/min/bin/lib"/>
+
+        <!-- Copy the 3rd party libs -->
+        <ant:copy toDir="target/temp/min/bin/lib">
+            <ant:fileset dir="${min_dep_cache}"/>
         </ant:copy>
-        <ant:copy todir="${bin.dist.dir}/docs">
-            <ant:fileset dir="xdocs">
-                <ant:include name="**"/>
-                <ant:exclude name="*M1*/**"/>
-            </ant:fileset>
+
+        <!-- Create axis2-core.jar -->
+        <jar destfile="target/temp/min/bin/lib/axis2-core-${pom.currentVersion}.jar">
+            <fileset dir="modules/core/target/classes/"/>
+            <fileset dir="modules/common/target/classes/"/>
+            <fileset dir="modules/xml/target/classes/"/>
+            <fileset dir="modules/wsdl/target/classes/"/>
+        </jar>
+
+        <!-- Copy the adb jar -->
+        <ant:copy toDir="target/temp/min/bin/lib">
+            <ant:fileset file="modules/adb/target/axis2-adb-${pom.currentVersion}.jar"/>
         </ant:copy>
-        <ant:copy todir="${bin.dist.dir}/lib" flatten="true">
-            <ant:fileset dir="target/lib">
-                <ant:include name="*.jar"/>
-                <ant:exclude name="**servlet**.jar"/>
-                <ant:exclude name="ant*.jar"/>
-                <ant:exclude name="commons-fileupload-*.jar"/>
+
+        <!-- Copy the release documents -->
+        <macros:copy-release-docs toDir="target/temp/min/bin"
+                                  readmeFile="release-docs/readme-files/README-min-bin.txt"/>
+
+        <ant:mkdir dir="${dist.dir}"/>
+        <ant:zip file="${dist.dir}/axis2-min-${pom.currentVersion}-bin.zip"
+                 basedir="target/temp/min/bin"/>
+        <ant:delete dir="target/temp/min/bin"/>
+    </goal>
+
+    <goal name="dist-min-src" prereqs="init-dist">
+        <ant:echo>+----------------------------------------------</ant:echo>
+        <ant:echo>| Creating: Axis2 Minimal Source Distribution</ant:echo>
+        <ant:echo>+----------------------------------------------</ant:echo>
+
+        <ant:mkdir dir="target/dist"/>
+        <ant:mkdir dir="target/temp/min/src"/>
+
+        <ant:copy toDir="target/temp/min/src">
+            <ant:fileset dir=".">
+                <ant:include name="**/etc/**"/>
+                <ant:include name="**/modules/core/**"/>
+                <ant:include name="**/modules/common/**"/>
+                <ant:include name="**/modules/xml/**"/>
+                <ant:include name="**/modules/wsdl/**"/>
+                <ant:include name="**/modules/adb/**"/>
+                <ant:exclude name="**/target/**"/>
+                <ant:exclude name="**/*class*/**"/>
+                <ant:exclude name="**/.svn/**"/>
+                <ant:exclude name="**/bin/**"/>
+                <ant:exclude name="**/*.log"/>
+                <ant:exclude name=".*"/>
+                <ant:exclude name="**/*.license"/>
+                <ant:exclude name="**/*.iml"/>
             </ant:fileset>
         </ant:copy>
-        <ant:copy file="modules/samples/script/build.xml" tofile="${bin.dist.dir}/samples/build.xml"/>
-        <ant:copy todir="${bin.dist.dir}/samples">
-            <ant:fileset dir="modules/samples/conf/">
-                <ant:include name="*.xml"/>
-            </ant:fileset>
+        <ant:copy toDir="target/temp/min/src/etc" overwrite="true" filtering="on">
+            <ant:fileset dir="release-docs/release-etc/min"/>
         </ant:copy>
-        <ant:copy todir="${bin.dist.dir}/samples">
-            <ant:fileset dir="modules/samples/target/samples">
-                <include name="**"/>
-            </ant:fileset>
+
+        <!-- Copy the master maven files for the minimal src distro -->
+        <ant:copy toFile="target/temp/min/src/maven.xml">
+            <ant:fileset file="release-docs/maven-scripts/maven-min.xml"/>
         </ant:copy>
-        <ant:copy todir="${bin.dist.dir}/">
-            <ant:fileset dir=".">
-                <ant:include name="*.html"/>
-                <ant:include name="*.txt"/>
-            </ant:fileset>
+        <ant:copy toDir="target/temp/min/src">
+            <ant:fileset file="project.xml"/>
         </ant:copy>
 
-        <ant:mkdir dir="${bin.dist.dir}/repository"/>
-        <ant:mkdir dir="${bin.dist.dir}/repository/services"/>
-        <ant:mkdir dir="${bin.dist.dir}/repository/modules"/>
-        <ant:copy todir="${bin.dist.dir}/repository">
-            <ant:fileset dir="modules/samples/target/toWar/">
-                <ant:include name="**"/>
+        <!-- Copy the release documents -->
+        <macros:copy-release-docs toDir="target/temp/min/src"
+                                  readmeFile="release-docs/readme-files/README-min-src.txt"/>
+
+        <ant:zip file="${dist.dir}/axis2-min-${pom.currentVersion}-src.zip">
+            <ant:fileset dir="target/temp/min/src"/>
+        </ant:zip>
+        <ant:delete dir="target/temp/min/src"/>
+    </goal>
+
+    <goal name="dist-std-bin" prereqs="init-dist,cache-std-deps">
+        <ant:echo>+----------------------------------------------</ant:echo>
+        <ant:echo>| Creating: Axis2 Standard Binary Distribution</ant:echo>
+        <ant:echo>+----------------------------------------------</ant:echo>
+
+        <ant:mkdir dir="target/temp/std/bin/lib"/>
+        <ant:mkdir dir="target/temp/std/bin/mar"/>
+        <ant:mkdir dir="target/temp/std/bin/samples"/>
+        <ant:mkdir dir="target/temp/std/bin/webapp"/>
+
+        <!-- Copy the 3rd party libs -->
+        <ant:copy toDir="target/temp/std/bin/lib">
+            <ant:fileset dir="${min_dep_cache}"/>
+            <ant:fileset dir="${std_dep_cache}"/>
+        </ant:copy>
+
+        <!-- Create axis2-core.jar -->
+        <jar destfile="target/temp/std/bin/lib/axis2-core-${pom.currentVersion}.jar">
+            <fileset dir="modules/core/target/classes/"/>
+            <fileset dir="modules/common/target/classes/"/>
+            <fileset dir="modules/xml/target/classes/"/>
+            <fileset dir="modules/wsdl/target/classes/"/>
+        </jar>
+
+        <ant:copy toDir="target/temp/std/bin/lib">
+            <ant:fileset file="modules/adb/target/axis2-adb-${pom.currentVersion}.jar"/>
+            <ant:fileset file="modules/codegen/target/axis2-codegen-${pom.currentVersion}.jar"/>
+            <ant:fileset file="modules/doom/target/axis2-doom-${pom.currentVersion}.jar"/>
+        </ant:copy>
+
+        <!-- Webapp -->
+        <ant:copy toDir="target/temp/std/bin/webapp">
+            <ant:fileset dir="modules/webapp">
+                <ant:exclude name="**/.svn/**"/>
+                <ant:exclude name="**/.*/**"/>
             </ant:fileset>
         </ant:copy>
 
+        <!-- Copy addressing mar -->
+        <ant:copy toDir="target/temp/std/bin/mar">
+            <ant:fileset file="modules/addressing/target/addressing.mar"/>
+        </ant:copy>
 
-        <ant:copy todir="${bin.dist.dir}/bin">
-            <ant:fileset dir="modules/tool/script"/>
+        <!-- Copy the samples -->
+        <ant:copy toDir="target/temp/std/bin/samples">
+            <ant:fileset dir="modules/samples">
+                <ant:exclude name="**/.svn/**"/>
+                <ant:exclude name="**/classes/**"/>
+                <ant:exclude name="**/target/**"/>
+                <ant:exclude name="**/xdocs/**"/>
+                <ant:exclude name="**/.*/**"/>
+            </ant:fileset>
         </ant:copy>
 
-        <ant:zip file="${dist.dir}/${dist.name}-bin.zip" basedir="target/dist-bin"/>
-        <ant:tar tarfile="target/${dist.name}-bin.tar" basedir="target/dist-bin"/>
-        <gzip src="target/${dist.name}-bin.tar" zipfile="${dist.dir}/${dist.name}-bin.tar.gz"/>
-        <ant:delete dir="target/dist-bin"/>
-        <ant:delete file="target/${dist.name}-bin.tar"/>
+        <!-- Copy the release documents -->
+        <macros:copy-release-docs toDir="target/temp/std/bin"
+                                  readmeFile="release-docs/readme-files/README-std-bin.txt"/>
+
+        <ant:zip file="${dist.dir}/axis2-std-${pom.currentVersion}-bin.zip"
+                 basedir="target/temp/std/bin"/>
+        <ant:delete dir="target/temp/std/bin"/>
     </goal>
 
-    <!-- ================================================================ -->
-    <!--- Create the Source Distribution -->
-    <!-- ================================================================ -->
+    <goal name="dist-std-src" prereqs="init-dist">
+        <ant:echo>+----------------------------------------------</ant:echo>
+        <ant:echo>| Creating: Axis2 Standard Source Distribution</ant:echo>
+        <ant:echo>+----------------------------------------------</ant:echo>
 
-    <goal name="dist-src" prereqs="init">
-        <ant:zip file="${dist.dir}/${dist.name}-src.zip">
+        <ant:mkdir dir="target/dist"/>
+
+        <ant:copy toDir="target/temp/std/src">
             <ant:fileset dir=".">
-                <ant:include name="**"/>
+                <ant:include name="**/etc/**"/>
+                <ant:include name="**/modules/core/**"/>
+                <ant:include name="**/modules/common/**"/>
+                <ant:include name="**/modules/xml/**"/>
+                <ant:include name="**/modules/wsdl/**"/>
+                <ant:include name="**/modules/adb/**"/>
+                <ant:include name="**/modules/codegen/**"/>
+                <ant:include name="**/modules/webapp/**"/>
+                <ant:include name="**/modules/doom/**"/>
+                <ant:include name="**/modules/addressing/**"/>
+                <ant:include name="**/modules/samples/**"/>
                 <ant:exclude name="**/target/**"/>
+                <ant:exclude name="**/*class*/**"/>
                 <ant:exclude name="**/.svn/**"/>
                 <ant:exclude name="**/bin/**"/>
                 <ant:exclude name="**/*.log"/>
                 <ant:exclude name=".*"/>
                 <ant:exclude name="**/*.license"/>
+                <ant:exclude name="**/*.iml"/>
             </ant:fileset>
+        </ant:copy>
+        <ant:copy toDir="target/temp/std/src/etc" overwrite="true" filtering="on">
+            <ant:fileset dir="release-docs/release-etc/std"/>
+        </ant:copy>
+
+        <!-- Copy the master maven files for the standard src distro -->
+        <ant:copy toFile="target/temp/std/src/maven.xml">
+            <ant:fileset file="release-docs/maven-scripts/maven-std.xml"/>
+        </ant:copy>
+        <ant:copy toDir="target/temp/std/src">
+            <ant:fileset file="project.xml"/>
+        </ant:copy>
+
+        <!-- Copy the release documents -->
+        <macros:copy-release-docs toDir="target/temp/std/src"
+                                  readmeFile="release-docs/readme-files/README-std-src.txt"/>
+
+        <ant:zip file="${dist.dir}/axis2-std-${pom.currentVersion}-src.zip">
+            <ant:fileset dir="target/temp/std/src"/>
         </ant:zip>
-        <ant:tar tarfile="target/${dist.name}-src.tar" longfile="gnu">
-            <ant:tarfileset dir=".">
-                <ant:include name="**"/>
-                <ant:exclude name="**/target/**"/>
-                <ant:exclude name="**/.svn/**"/>
-                <ant:exclude name="**/bin/**"/>
-                <ant:exclude name="**/*.log"/>
-                <ant:exclude name=".*"/>
-                <ant:exclude name="**/*.license"/>
-            </ant:tarfileset>
-        </ant:tar>
-        <gzip src="target/${dist.name}-src.tar" zipfile="${dist.dir}/${dist.name}-src.tar.gz"/>
-        <ant:delete file="target/${dist.name}-src.tar"/>
+        <ant:delete dir="target/temp/std/src"/>
+    </goal>
+
+    <goal name="dist-war" prereqs="war">
+        <ant:echo>+----------------------------------------------</ant:echo>
+        <ant:echo>| Creating: Axis2 WAR Distribution</ant:echo>
+        <ant:echo>+----------------------------------------------</ant:echo>
+    </goal>
+
+    <goal name="dist-docs" prereqs="init-dist, javadocs">
+        <ant:echo>+----------------------------------------------</ant:echo>
+        <ant:echo>| Creating: Axis2 Docs Distribution</ant:echo>
+        <ant:echo>+----------------------------------------------</ant:echo>
+
+        <ant:mkdir dir="target/dist"/>
+        <ant:mkdir dir="target/temp/docs/xdocs"/>
+        <ant:mkdir dir="target/temp/docs/javadocs"/>
+
+        <ant:copy toDir="target/temp/docs/xdocs">
+            <ant:fileset dir="xdocs" />
+        </ant:copy>
+
+        <ant:copy toDir="target/temp/docs/javadocs">
+            <ant:fileset dir="target/apidocs"/>
+        </ant:copy>
+
+        <macros:copy-release-docs toDir="target/temp/docs"
+                                  readmeFile="release-docs/readme-files/README-docs.txt"/>
+
+        <ant:zip file="${dist.dir}/axis2-${pom.currentVersion}-docs.zip">
+            <ant:fileset dir="target/temp/docs"/>
+        </ant:zip>
+        <ant:delete dir="target/temp/docs"/>
+
+        <ant:echo message="***** IMPORTANT: Please manually copy the Eclipse &amp; IDEA plugins" />
+    </goal>
+
+    <goal name="cache-min-deps" prereqs="init-dist">
+        <ant:mkdir dir="${min_dep_cache}"/>
+        <j:if test="${minDeps.uptodate != 'yes'}">
+            <macros:copy-deps copyToDir="${min_dep_cache}"
+                              modules="core,common,xml,wsdl,adb"/>
+            <property name="minDeps.uptodate" value="yes"/>
+        </j:if>
+    </goal>
+
+    <goal name="cache-std-deps" prereqs="cache-min-deps">
+        <ant:mkdir dir="${std_dep_cache}"/>
+        <j:if test="${stdDeps.uptodate != 'yes'}">
+            <macros:copy-deps copyToDir="${std_dep_cache}"
+                              modules="codegen,doom,webapp"/>
+            <property name="stdDeps.uptodate" value="yes"/>
+        </j:if>
     </goal>
 
     <!-- ================================================================ -->
     <!--- Create the Java Docs -->
     <!-- ================================================================ -->
 
-    <goal name="javadocs" prereqs="init, create-lib">
+    <goal name="javadocs" prereqs="init">
+        <!--<goal name="javadocs" prereqs="init, create-lib">-->
         <ant:javadoc packagenames="org.apache.axis2.*"
-            defaultexcludes="yes"
-            destdir="target/apidocs"
-            author="true"
-            version="true"
-            breakiterator="yes"
-            use="true"
-            windowtitle="Axis2 API">
+                     defaultexcludes="yes"
+                     destdir="target/apidocs"
+                     author="true"
+                     version="true"
+                     use="true"
+                     windowtitle="Axis2 API">
             <ant:sourcepath>
                 <ant:pathelement location="modules/adb/src"/>
                 <ant:pathelement location="modules/addressing/src"/>
@@ -518,9 +706,9 @@
                 <ant:pathelement location="modules/xml/src"/>
             </ant:sourcepath>
             <ant:classpath>
-              <ant:fileset dir="target/lib">
-                <ant:include name="**/*.jar"/>
-              </ant:fileset>
+                <ant:fileset dir="target/lib">
+                    <ant:include name="**/*.jar"/>
+                </ant:fileset>
             </ant:classpath>
             <ant:excludepackage name="org.apache.axis2.tool.codegen.*"/>
             <ant:excludepackage name="org.apache.axis2.tool.service.*"/>
@@ -560,14 +748,46 @@
     <!--- Create JUnit test reports -->
     <!-- ================================================================ -->
     <goal name="test-reports">
-      <mkdir dir="${basedir}/target/test-reports"/>
-      <ant:junitreport todir="${basedir}/target/test-reports">
-        <ant:fileset dir="${basedir}/">
-          <ant:include name="**/test-reports/TEST-*.xml"/>
-          <ant:include name="**/itest-reports/TEST-*.xml"/>
-        </ant:fileset>
-        <ant:report format="frames" todir="${basedir}/target/test-reports" styledir="${basedir}/etc"/>
-      </ant:junitreport>
+        <mkdir dir="${basedir}/target/test-reports"/>
+        <ant:junitreport todir="${basedir}/target/test-reports">
+            <ant:fileset dir="${basedir}/">
+                <ant:include name="**/test-reports/TEST-*.xml"/>
+                <ant:include name="**/itest-reports/TEST-*.xml"/>
+            </ant:fileset>
+            <ant:report format="frames" todir="${basedir}/target/test-reports"
+                        styledir="${basedir}/etc"/>
+        </ant:junitreport>
     </goal>
+
+    <define:taglib uri="macros">
+        <define:tag name="copy-deps">
+            <j:if test="${context.getVariable('modules') != null}">
+                <property name="modules" value="${modules}"/>
+            </j:if>
+            <attainGoal name="modules:reactor:init"/>
+            <ant:echo message="Fetching Dependencies for modules: ${modules.reactor.includes}"/>
+            <maven:reactor
+                    basedir="${basedir}"
+                    postProcessing="true"
+                    includes="${modules.reactor.includes}"
+                    banner="Executing (${goals}):"
+                    ignoreFailures="false"/>
+            <j:forEach var="x" items="${reactorProjects}">
+                <ant:echo message="Copying ${x} to ${copyToDir}"/>
+                <deploy:copy-deps todir="${copyToDir}"
+                                  projectDescriptor="${x.getFile()}"/>
+            </j:forEach>
+            <property name="modules" value="*"/>
+        </define:tag>
+        <define:tag name="copy-release-docs">
+            <ant:copy toFile="${toDir}/README.txt" filtering="on">
+                <ant:fileset file="${readmeFile}"/>
+            </ant:copy>
+            <ant:copy toFile="${toDir}/release-notes.html" filtering="on">
+                <ant:fileset file="release-notes.html"/>
+            </ant:copy>
+        </define:tag>
+    </define:taglib>
+
 </project>
 

Modified: webservices/axis2/trunk/java/modules/adb/project.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/adb/project.xml?rev=367229&r1=367228&r2=367229&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb/project.xml (original)
+++ webservices/axis2/trunk/java/modules/adb/project.xml Sun Jan  8 22:53:43 2006
@@ -60,15 +60,6 @@
             </properties>
         </dependency>
         <dependency>
-            <groupId>xmlbeans</groupId>
-            <artifactId>xbean</artifactId>
-            <version>${xbean.version}</version>
-            <type>jar</type>
-            <properties>
-                <module>true</module>
-            </properties>
-        </dependency>
-        <dependency>
             <groupId>commons-logging</groupId>
             <artifactId>commons-logging</artifactId>
             <version>${commons.logging.version}</version>
@@ -77,14 +68,6 @@
             </properties>
         </dependency>
         <dependency>
-            <groupId>commons-httpclient</groupId>
-            <artifactId>commons-httpclient</artifactId>
-            <version>${commons.httpclient.version}</version>
-            <properties>
-                <module>true</module>
-            </properties>
-        </dependency>
-        <dependency>
             <groupId>${stax.impl.groupid}</groupId>
             <artifactId>${stax.impl.artifactid}</artifactId>
             <version>${stax.impl.version}</version>
@@ -112,15 +95,6 @@
             <groupId>axis</groupId>
             <artifactId>axis-wsdl4j</artifactId>
             <version>${axis.wsdl4j.version}</version>
-            <properties>
-                <module>true</module>
-            </properties>
-        </dependency>
-        <dependency>
-            <groupId>ant</groupId>
-            <artifactId>ant</artifactId>
-            <version>${ant.version}</version>
-            <type>jar</type>
             <properties>
                 <module>true</module>
             </properties>

Modified: webservices/axis2/trunk/java/modules/core/project.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/project.xml?rev=367229&r1=367228&r2=367229&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/project.xml (original)
+++ webservices/axis2/trunk/java/modules/core/project.xml Sun Jan  8 22:53:43 2006
@@ -107,14 +107,14 @@
             <artifactId>XmlSchema</artifactId>
             <version>${XmlSchema.version}</version>
         </dependency>
-        <dependency>
+        <!--<dependency>
             <groupId>commons-fileupload</groupId>
             <artifactId>commons-fileupload</artifactId>
             <version>${commons.fileupload.version}</version>
             <properties>
                 <module>true</module>
             </properties>
-        </dependency>
+        </dependency>-->
         <dependency>
             <groupId>axis</groupId>
             <artifactId>axis-wsdl4j</artifactId>

Modified: webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/WSDL2JavaGenerator.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/WSDL2JavaGenerator.java?rev=367229&r1=367228&r2=367229&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/WSDL2JavaGenerator.java (original)
+++ webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/WSDL2JavaGenerator.java Sun Jan  8 22:53:43 2006
@@ -16,8 +16,8 @@
 package org.apache.axis2.tool.codegen;
 
 import org.apache.axis2.wsdl.builder.WOMBuilderFactory;
-import org.apache.axis2.wsdl.codegen.CommandLineOption;
-import org.apache.axis2.wsdl.codegen.CommandLineOptionConstants;
+import org.apache.axis2.wsdl.util.CommandLineOption;
+import org.apache.axis2.wsdl.util.CommandLineOptionConstants;
 import org.apache.wsdl.WSDLDescription;
 
 import javax.wsdl.WSDLException;

Added: webservices/axis2/trunk/java/release-docs/maven-scripts/maven-min.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/release-docs/maven-scripts/maven-min.xml?rev=367229&view=auto
==============================================================================
--- webservices/axis2/trunk/java/release-docs/maven-scripts/maven-min.xml (added)
+++ webservices/axis2/trunk/java/release-docs/maven-scripts/maven-min.xml Sun Jan  8 22:53:43 2006
@@ -0,0 +1,429 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * Copyright 2001-2004 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.
+ */
+ -->
+
+<!--
+     | The main goals for multi project build are:
+     |
+     | default
+     |    Build all the modules
+     |
+     | clean
+     |    Deletes the 'target' directory in all projects
+
+     | clean-repo
+     |    Deletes the 'target' directory in all projects
+     |
+   -->
+
+<project default="jar"
+         xmlns:j="jelly:core"
+         xmlns:u="jelly:util"
+         xmlns:deploy="deploy"
+         xmlns:modules="local:modules"
+         xmlns:ant="jelly:ant"
+         xmlns:plugin="plugin"
+         xmlns:macros="macros"
+         xmlns:maven="jelly:maven"
+         xmlns:define="jelly:define">
+
+    <j:set var="dist.name" value="${pom.artifactId}-${pom.currentVersion}"/>
+    <j:set var="dist.dir" value="target/dist"/>
+
+    <preGoal name="modules:reactor:init">
+        <j:set var="groupId" value="maven-itest-plugin"/>
+        <j:set var="artifactId" value="maven-itest-plugin"/>
+        <j:set var="version" value="1.0"/>
+        <attainGoal name="plugin:download-artifact"/>
+        <maven:installPlugin
+                file="${maven.repo.local}/${groupId}/plugins/${artifactId}-${version}.jar"
+                cache="true"/>
+    </preGoal>
+
+    <preGoal name="build:start">
+        <property name="modules" value="core,common,xml,wsdl,adb" />
+    </preGoal>
+
+    <!-- ======= -->
+    <!-- Modules -->
+    <!-- ======= -->
+    <goal name="modules:reactor:init">
+        <!--
+           | Determine the includes which the reactor will use.
+           |
+           | Uses 4 properties to control which modules will be include:
+           |
+           | module.types      Comma seperated list of module types (ie. specs or modules)
+           | module.includes   Comma seperated list of module names (ie. common, core, ...)
+           | modules           Same as module.includes, module.includes initializes to this value
+           | module.excludes   Comma seperated list of module names to exclude
+           |
+           | The end result is that modules.reactor.includes is set to the project.xml files
+           | to include.  This is the value the reactor will use.
+           |
+           | Example, to only build the common and core modules:
+           |
+           | maven -Dmodules=common,core
+         -->
+
+        <j:if test="${context.getVariable('module.types') == null}">
+            <j:set var="module.types" value="modules,applications,plugins"/>
+        </j:if>
+
+        <j:if test="${context.getVariable('modules') == null}">
+            <!-- The default is to build everything -->
+            <j:set var="modules" value="*"/>
+        </j:if>
+
+        <j:if test="${context.getVariable('module.includes') == null}">
+            <j:set var="module.includes" value="${modules}"/>
+        </j:if>
+
+        <j:if test="${context.getVariable('module.excludes') == null}">
+            <j:set var="module.excludes" value=""/>
+        </j:if>
+
+        <u:tokenize var="types" delim=",">${module.types}</u:tokenize>
+
+        <ant:fileScanner var="scanner">
+            <ant:fileset dir="${basedir}">
+                <j:forEach var="type" items="${types}">
+                    <j:choose>
+                        <j:when test="${context.getVariable('module.includes') == '*'}">
+                            <ant:include name="${type}/*/project.xml"/>
+                        </j:when>
+                        <j:otherwise>
+                            <u:tokenize var="includes" delim=",">${module.includes}</u:tokenize>
+                            <j:forEach var="include" items="${includes}">
+                                <u:available file="${basedir}/${type}/${include}/project.xml">
+                                    <ant:include name="${type}/${include}/project.xml"/>
+                                </u:available>
+                            </j:forEach>
+                        </j:otherwise>
+                    </j:choose>
+
+                    <j:choose>
+                        <j:when test="${context.getVariable('module.excludes') == '*'}">
+                            <ant:exclude name="${type}/*/project.xml"/>
+                        </j:when>
+                        <j:otherwise>
+                            <u:tokenize var="excludes" delim=",">${module.excludes}</u:tokenize>
+                            <j:forEach var="exclude" items="${excludes}">
+                                <u:available file="${basedir}/${type}/${exclude}/project.xml">
+                                    <ant:exclude name="${type}/${exclude}/project.xml"/>
+                                </u:available>
+                            </j:forEach>
+                        </j:otherwise>
+                    </j:choose>
+                </j:forEach>
+            </ant:fileset>
+        </ant:fileScanner>
+
+        <!-- Setup the includes which will be used by the reactor -->
+        <j:forEach var="file" items="${scanner.iterator()}">
+            <!--
+               | Would be nice if reactor would take a file set, but for now just remove
+               | the baseddir portion of the file's name.  So this will essentially strip off
+               | ${basedir}
+             -->
+            <j:set var="directory"
+                   value="${file.parentFile.parentFile.name}/${file.parentFile.name}"/>
+            <j:set var="filename" value="${directory}/${file.name}"/>
+            <j:choose>
+                <j:when test="${context.getVariable('modules.reactor.includes') == null}">
+                    <j:set var="modules.directories" value="${directory}"/>
+                    <j:set var="modules.reactor.includes" value="${filename}"/>
+                </j:when>
+                <j:otherwise>
+                    <j:set var="modules.directories" value="${modules.directories},${directory}"/>
+                    <j:set var="modules.reactor.includes"
+                           value="${modules.reactor.includes},${filename}"/>
+                </j:otherwise>
+            </j:choose>
+        </j:forEach>
+    </goal>
+
+    <!-- Helper tags for modules -->
+    <define:taglib uri="local:modules">
+        <define:tag name="reactor">
+            <attainGoal name="modules:reactor:init"/>
+
+            <j:choose>
+                <j:when test="${goals != null}">
+                    <maven:reactor
+                            basedir="${basedir}"
+                            includes="${modules.reactor.includes}"
+                            banner="Executing (${goals}):"
+                            ignoreFailures="false"
+                            goals="${goals}"
+                            postProcessing="true"
+                            />
+                </j:when>
+                <j:when test="${goals == null}">
+                    <maven:reactor
+                            basedir="${basedir}"
+                            includes="${modules.reactor.includes}"
+                            banner="Executing (${goals}):"
+                            ignoreFailures="false"
+                            postProcessing="true"
+                            />
+                </j:when>
+            </j:choose>
+
+            <!-- Set reactor projects in parent scope so goals have access to it -->
+            <j:set var="reactorProjects" value="${reactorProjects}" scope="parent"/>
+        </define:tag>
+    </define:taglib>
+
+    <goal name="m:init">
+        <ant:fileScanner var="scanner">
+            <ant:fileset dir="${basedir}">
+                <u:tokenize var="includes" delim=",">${maven.multiproject.includes}</u:tokenize>
+                <j:forEach var="include" items="${includes}">
+                    <ant:include name="${include}"/>
+                </j:forEach>
+                <u:tokenize var="excludes" delim=",">${maven.multiproject.excludes}</u:tokenize>
+                <j:forEach var="exclude" items="${excludes}">
+                    <ant:exclude name="${exclude}"/>
+                </j:forEach>
+            </ant:fileset>
+        </ant:fileScanner>
+
+        <j:set var="maven.multiproject.includes" value=""/>
+        <j:set var="maven.multiproject.excludes" value=""/>
+        <j:set var="modules.directories" value=""/>
+
+        <u:tokenize var="moduleList" delim=",">${modules}</u:tokenize>
+        <j:set var="currentDir" value="${basedir}/"/>
+        <j:forEach var="file" items="${scanner.iterator()}">
+            <j:set var="directory" value="${file.parentFile.absolutePath}"/>
+            <j:set var="include" value="${file.absolutePath.substring(currentDir.length())}"/>
+            <j:if test="${moduleList.isEmpty() || moduleList.contains(file.parentFile.name)}">
+                <j:choose>
+                    <j:when test="${context.getVariable('maven.multiproject.includes') == ''}">
+                        <j:set var="modules.directories" value="${directory}"/>
+                        <j:set var="maven.multiproject.includes" value="${include}"/>
+                    </j:when>
+                    <j:otherwise>
+                        <j:set var="modules.directories"
+                               value="${modules.directories},${directory}"/>
+                        <j:set var="maven.multiproject.includes"
+                               value="${maven.multiproject.includes},${include}"/>
+                    </j:otherwise>
+                </j:choose>
+            </j:if>
+        </j:forEach>
+    </goal>
+
+    <goal name="jar:jar">
+        <attainGoal name="create-jar"/>
+        <ant:copy file="target/lib/axis2-${pom.currentVersion}.jar"
+                  toDir="target/"/>
+    </goal>
+
+    <goal name="jar">
+        <attainGoal name="multiproject:install"/>
+        <attainGoal name="jar:install"/>
+    </goal>
+
+    <goal name="init">
+        <ant:mkdir dir="target"/>
+        <ant:mkdir dir="${dist.dir}"/>
+        <ant:mkdir dir="target/lib"/>
+
+        <uptodate property="jars.uptodate" targetfile="target/axis2-${pom.currentVersion}.war">
+            <srcfiles dir="modules">
+                <include name="**/*.java"/>
+                <include name="**/*.xml"/>
+                <include name="**/*.wsdl"/>
+                <exclude name="**/target/**"/>
+            </srcfiles>
+        </uptodate>
+        <echo message="the files are up to date = ${jars.uptodate}"></echo>
+    </goal>
+
+    <goal name="modules:clean">
+        <attainGoal name="modules:reactor:init"/>
+        <u:tokenize var="directories" delim=",">${modules.directories}</u:tokenize>
+        <j:forEach var="directory" items="${directories}">
+            <ant:echo>+----------------------------------------</ant:echo>
+            <ant:echo>| Cleaning: ${directory}</ant:echo>
+            <ant:echo>+----------------------------------------</ant:echo>
+            <ant:delete dir="${directory}/target"/>
+            <ant:delete quiet="false" failonerror="false">
+                <ant:fileset dir="${directory}">
+                    <ant:include name="maven.log"/>
+                    <ant:include name="velocity.log*"/>
+                    <ant:include name="junit*.properties"/>
+                    <ant:include name="axis.log"/>
+                    <ant:include name="junit*.properties"/>
+                    <ant:include name="temp.properties"/>
+                </ant:fileset>
+            </ant:delete>
+            <ant:echo></ant:echo>
+        </j:forEach>
+        <ant:echo>+----------------------------------------</ant:echo>
+        <ant:echo>| Cleaning: target and etc/target</ant:echo>
+        <ant:echo>+----------------------------------------</ant:echo>
+        <ant:delete dir="target"/>
+        <ant:delete dir="etc/target"/>
+    </goal>
+
+    <goal name="clean">
+        <ant:delete dir="${user.home}/.axis2"/>
+        <ant:delete dir="${user.home}/.axis2home"/>
+        <attainGoal name="modules:clean"/>
+        <attainGoal name="clean-repo"/>
+    </goal>
+
+    <!-- ================================================================ -->
+    <!--- Clean the Repository -->
+    <!-- ================================================================ -->
+    <goal name="clean-repo">
+        <ant:delete>
+            <ant:fileset dir="${maven.repo.local}">
+                <ant:include name="axis/jars/axis2*.jar"/>
+            </ant:fileset>
+        </ant:delete>
+    </goal>
+
+    <goal name="all-tests">
+        <modules:reactor goals="jar:install,test,itest"/>
+    </goal>
+
+    <goal name="cleanse-sources">
+        <modules:reactor goals="cleanse-sources"/>
+    </goal>
+
+    <goal name="clover">
+        <modules:reactor goals="clover:on,jar:install,test"/>
+        <attainGoal name="clover:merge"/>
+        <attainGoal name="clover:report"/>
+    </goal>
+
+    <goal name="create-jar" prereqs="init">
+        <jar destfile="target/lib/axis2-${pom.currentVersion}.jar">
+            <fileset dir="modules/core/target/classes"/>
+            <fileset dir="modules/common/target/classes"/>
+            <fileset dir="modules/xml/target/classes"/>
+            <fileset dir="modules/wsdl/target/classes"/>
+            <fileset dir="modules/adb/target/classes"/>
+        </jar>
+    </goal>
+
+    <goal name="create-lib">
+        <macros:copy-deps copyToDir="${target/lib}"/>
+    </goal>
+
+
+    <!-- ================================================================ -->
+    <!--- Create the Java Docs -->
+    <!-- ================================================================ -->
+
+    <goal name="javadocs" prereqs="init, create-lib">
+        <ant:javadoc packagenames="org.apache.axis2.*"
+                     defaultexcludes="yes"
+                     destdir="target/apidocs"
+                     author="true"
+                     version="true"
+                     use="true"
+                     windowtitle="Axis2 API">
+            <ant:sourcepath>
+                <ant:pathelement location="modules/adb/src"/>
+                <ant:pathelement location="modules/common/src"/>
+                <ant:pathelement location="modules/core/src"/>
+                <ant:pathelement location="modules/wsdl/src"/>
+                <ant:pathelement location="modules/xml/src"/>
+            </ant:sourcepath>
+            <ant:classpath>
+                <ant:fileset dir="target/lib">
+                    <ant:include name="**/*.jar"/>
+                </ant:fileset>
+            </ant:classpath>
+            <ant:excludepackage name="org.apache.axis2.tool.codegen.*"/>
+            <ant:excludepackage name="org.apache.axis2.tool.service.*"/>
+        </ant:javadoc>
+    </goal>
+
+    <!-- ================================================================ -->
+    <!--- Reports -->
+    <!-- ================================================================ -->
+    <!-- Conditionally disable linkcheck based on a property. -->
+
+    <postGoal name="xdoc:register-reports">
+        <j:if test="${maven.allreports.disable}">
+            <echo>Reports are disabled. Deregistering all the reports ....</echo>
+            <attainGoal name="maven-linkcheck-plugin:deregister"/>
+            <echo>linkcheck is disabled.</echo>
+            <attainGoal name="maven-checkstyle-plugin:deregister"/>
+            <echo>checkstyle is disabled.</echo>
+            <attainGoal name="maven-changes-plugin:deregister"/>
+            <echo>changes is disabled.</echo>
+            <attainGoal name="maven-changelog-plugin:deregister"/>
+            <echo>changelog is disabled.</echo>
+            <attainGoal name="maven-license-plugin:deregister"/>
+            <echo>license is disabled.</echo>
+            <attainGoal name="maven-javadoc-plugin:deregister"/>
+            <echo>javadoc is disabled.</echo>
+            <attainGoal name="maven-junit-report-plugin:deregister"/>
+            <echo>junit-report is disabled.</echo>
+            <attainGoal name="maven-tasklist-plugin:deregister"/>
+            <echo>tasklist is disabled.</echo>
+        </j:if>
+
+    </postGoal>
+
+
+    <!-- ================================================================ -->
+    <!--- Create JUnit test reports -->
+    <!-- ================================================================ -->
+    <goal name="test-reports">
+        <mkdir dir="${basedir}/target/test-reports"/>
+        <ant:junitreport todir="${basedir}/target/test-reports">
+            <ant:fileset dir="${basedir}/">
+                <ant:include name="**/test-reports/TEST-*.xml"/>
+                <ant:include name="**/itest-reports/TEST-*.xml"/>
+            </ant:fileset>
+            <ant:report format="frames" todir="${basedir}/target/test-reports"
+                        styledir="${basedir}/etc"/>
+        </ant:junitreport>
+    </goal>
+
+    <define:taglib uri="macros">
+        <define:tag name="copy-deps">
+            <j:if test="${context.getVariable('modules') != null}">
+                <property name="modules" value="${modules}"/>
+            </j:if>
+            <attainGoal name="modules:reactor:init"/>
+            <ant:echo message="Fetching Dependencies for modules: ${modules.reactor.includes}"/>
+            <maven:reactor
+                    basedir="${basedir}"
+                    postProcessing="true"
+                    includes="${modules.reactor.includes}"
+                    banner="Executing (${goals}):"
+                    ignoreFailures="false"/>
+            <j:forEach var="x" items="${reactorProjects}">
+                <ant:echo message="Copying ${x} to ${copyToDir}"/>
+                <deploy:copy-deps todir="${copyToDir}"
+                                  projectDescriptor="${x.getFile()}"/>
+            </j:forEach>
+            <property name="modules" value="*"/>
+        </define:tag>
+    </define:taglib>
+</project>
+

Added: webservices/axis2/trunk/java/release-docs/maven-scripts/maven-std.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/release-docs/maven-scripts/maven-std.xml?rev=367229&view=auto
==============================================================================
--- webservices/axis2/trunk/java/release-docs/maven-scripts/maven-std.xml (added)
+++ webservices/axis2/trunk/java/release-docs/maven-scripts/maven-std.xml Sun Jan  8 22:53:43 2006
@@ -0,0 +1,501 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * Copyright 2001-2004 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.
+ */
+ -->
+
+<!--
+     | The main goals for multi project build are:
+     |
+     | default
+     |    Build all the modules
+     |
+     | clean
+     |    Deletes the 'target' directory in all projects
+
+     | clean-repo
+     |    Deletes the 'target' directory in all projects
+     |
+     | war
+     |    Build the war
+     |
+     |
+   -->
+
+<project default="jar"
+         xmlns:j="jelly:core"
+         xmlns:u="jelly:util"
+         xmlns:deploy="deploy"
+         xmlns:modules="local:modules"
+         xmlns:ant="jelly:ant"
+         xmlns:plugin="plugin"
+         xmlns:macros="macros"
+         xmlns:maven="jelly:maven"
+         xmlns:define="jelly:define">
+
+    <j:set var="dist.name" value="${pom.artifactId}-${pom.currentVersion}"/>
+    <j:set var="dist.dir" value="target/dist"/>
+
+    <preGoal name="modules:reactor:init">
+        <j:set var="groupId" value="maven-itest-plugin"/>
+        <j:set var="artifactId" value="maven-itest-plugin"/>
+        <j:set var="version" value="1.0"/>
+        <attainGoal name="plugin:download-artifact"/>
+        <maven:installPlugin
+                file="${maven.repo.local}/${groupId}/plugins/${artifactId}-${version}.jar"
+                cache="true"/>
+    </preGoal>
+
+    <preGoal name="build:start">
+        <property name="modules" value="core,common,xml,wsdl,adb,codegen,doom,webapp,addressing" />
+    </preGoal>
+
+    <!-- ======= -->
+    <!-- Modules -->
+    <!-- ======= -->
+    <goal name="modules:reactor:init">
+        <!--
+           | Determine the includes which the reactor will use.
+           |
+           | Uses 4 properties to control which modules will be include:
+           |
+           | module.types      Comma seperated list of module types (ie. specs or modules)
+           | module.includes   Comma seperated list of module names (ie. common, core, ...)
+           | modules           Same as module.includes, module.includes initializes to this value
+           | module.excludes   Comma seperated list of module names to exclude
+           |
+           | The end result is that modules.reactor.includes is set to the project.xml files
+           | to include.  This is the value the reactor will use.
+           |
+           | Example, to only build the common and core modules:
+           |
+           | maven -Dmodules=common,core
+         -->
+
+        <j:if test="${context.getVariable('module.types') == null}">
+            <j:set var="module.types" value="modules,applications,plugins"/>
+        </j:if>
+
+        <j:if test="${context.getVariable('modules') == null}">
+            <!-- The default is to build everything -->
+            <j:set var="modules" value="*"/>
+        </j:if>
+
+        <j:if test="${context.getVariable('module.includes') == null}">
+            <j:set var="module.includes" value="${modules}"/>
+        </j:if>
+
+        <j:if test="${context.getVariable('module.excludes') == null}">
+            <j:set var="module.excludes" value=""/>
+        </j:if>
+
+        <u:tokenize var="types" delim=",">${module.types}</u:tokenize>
+
+        <ant:fileScanner var="scanner">
+            <ant:fileset dir="${basedir}">
+                <j:forEach var="type" items="${types}">
+                    <j:choose>
+                        <j:when test="${context.getVariable('module.includes') == '*'}">
+                            <ant:include name="${type}/*/project.xml"/>
+                        </j:when>
+                        <j:otherwise>
+                            <u:tokenize var="includes" delim=",">${module.includes}</u:tokenize>
+                            <j:forEach var="include" items="${includes}">
+                                <u:available file="${basedir}/${type}/${include}/project.xml">
+                                    <ant:include name="${type}/${include}/project.xml"/>
+                                </u:available>
+                            </j:forEach>
+                        </j:otherwise>
+                    </j:choose>
+
+                    <j:choose>
+                        <j:when test="${context.getVariable('module.excludes') == '*'}">
+                            <ant:exclude name="${type}/*/project.xml"/>
+                        </j:when>
+                        <j:otherwise>
+                            <u:tokenize var="excludes" delim=",">${module.excludes}</u:tokenize>
+                            <j:forEach var="exclude" items="${excludes}">
+                                <u:available file="${basedir}/${type}/${exclude}/project.xml">
+                                    <ant:exclude name="${type}/${exclude}/project.xml"/>
+                                </u:available>
+                            </j:forEach>
+                        </j:otherwise>
+                    </j:choose>
+                </j:forEach>
+            </ant:fileset>
+        </ant:fileScanner>
+
+        <!-- Setup the includes which will be used by the reactor -->
+        <j:forEach var="file" items="${scanner.iterator()}">
+            <!--
+               | Would be nice if reactor would take a file set, but for now just remove
+               | the baseddir portion of the file's name.  So this will essentially strip off
+               | ${basedir}
+             -->
+            <j:set var="directory"
+                   value="${file.parentFile.parentFile.name}/${file.parentFile.name}"/>
+            <j:set var="filename" value="${directory}/${file.name}"/>
+            <j:choose>
+                <j:when test="${context.getVariable('modules.reactor.includes') == null}">
+                    <j:set var="modules.directories" value="${directory}"/>
+                    <j:set var="modules.reactor.includes" value="${filename}"/>
+                </j:when>
+                <j:otherwise>
+                    <j:set var="modules.directories" value="${modules.directories},${directory}"/>
+                    <j:set var="modules.reactor.includes"
+                           value="${modules.reactor.includes},${filename}"/>
+                </j:otherwise>
+            </j:choose>
+        </j:forEach>
+    </goal>
+
+    <!-- Helper tags for modules -->
+    <define:taglib uri="local:modules">
+        <define:tag name="reactor">
+            <attainGoal name="modules:reactor:init"/>
+
+            <j:choose>
+                <j:when test="${goals != null}">
+                    <maven:reactor
+                            basedir="${basedir}"
+                            includes="${modules.reactor.includes}"
+                            banner="Executing (${goals}):"
+                            ignoreFailures="false"
+                            goals="${goals}"
+                            postProcessing="true"
+                            />
+                </j:when>
+                <j:when test="${goals == null}">
+                    <maven:reactor
+                            basedir="${basedir}"
+                            includes="${modules.reactor.includes}"
+                            banner="Executing (${goals}):"
+                            ignoreFailures="false"
+                            postProcessing="true"
+                            />
+                </j:when>
+            </j:choose>
+
+            <!-- Set reactor projects in parent scope so goals have access to it -->
+            <j:set var="reactorProjects" value="${reactorProjects}" scope="parent"/>
+        </define:tag>
+    </define:taglib>
+
+    <goal name="m:init">
+        <ant:fileScanner var="scanner">
+            <ant:fileset dir="${basedir}">
+                <u:tokenize var="includes" delim=",">${maven.multiproject.includes}</u:tokenize>
+                <j:forEach var="include" items="${includes}">
+                    <ant:include name="${include}"/>
+                </j:forEach>
+                <u:tokenize var="excludes" delim=",">${maven.multiproject.excludes}</u:tokenize>
+                <j:forEach var="exclude" items="${excludes}">
+                    <ant:exclude name="${exclude}"/>
+                </j:forEach>
+            </ant:fileset>
+        </ant:fileScanner>
+
+        <j:set var="maven.multiproject.includes" value=""/>
+        <j:set var="maven.multiproject.excludes" value=""/>
+        <j:set var="modules.directories" value=""/>
+
+        <u:tokenize var="moduleList" delim=",">${modules}</u:tokenize>
+        <j:set var="currentDir" value="${basedir}/"/>
+        <j:forEach var="file" items="${scanner.iterator()}">
+            <j:set var="directory" value="${file.parentFile.absolutePath}"/>
+            <j:set var="include" value="${file.absolutePath.substring(currentDir.length())}"/>
+            <j:if test="${moduleList.isEmpty() || moduleList.contains(file.parentFile.name)}">
+                <j:choose>
+                    <j:when test="${context.getVariable('maven.multiproject.includes') == ''}">
+                        <j:set var="modules.directories" value="${directory}"/>
+                        <j:set var="maven.multiproject.includes" value="${include}"/>
+                    </j:when>
+                    <j:otherwise>
+                        <j:set var="modules.directories"
+                               value="${modules.directories},${directory}"/>
+                        <j:set var="maven.multiproject.includes"
+                               value="${maven.multiproject.includes},${include}"/>
+                    </j:otherwise>
+                </j:choose>
+            </j:if>
+        </j:forEach>
+    </goal>
+
+    <goal name="jar:jar">
+        <attainGoal name="create-jar"/>
+        <ant:copy file="target/lib/axis2-${pom.currentVersion}.jar"
+                  toDir="target/"/>
+    </goal>
+
+    <goal name="jar">
+        <attainGoal name="multiproject:install"/>
+        <attainGoal name="jar:install"/>
+    </goal>
+
+    <goal name="init">
+        <ant:mkdir dir="target"/>
+        <ant:mkdir dir="${dist.dir}"/>
+        <ant:mkdir dir="target/lib"/>
+
+        <uptodate property="jars.uptodate" targetfile="target/axis2-${pom.currentVersion}.war">
+            <srcfiles dir="modules">
+                <include name="**/*.java"/>
+                <include name="**/*.xml"/>
+                <include name="**/*.wsdl"/>
+                <exclude name="**/target/**"/>
+            </srcfiles>
+        </uptodate>
+        <echo message="the files are up to date = ${jars.uptodate}"></echo>
+    </goal>
+
+    <goal name="modules:clean">
+        <attainGoal name="modules:reactor:init"/>
+        <u:tokenize var="directories" delim=",">${modules.directories}</u:tokenize>
+        <j:forEach var="directory" items="${directories}">
+            <ant:echo>+----------------------------------------</ant:echo>
+            <ant:echo>| Cleaning: ${directory}</ant:echo>
+            <ant:echo>+----------------------------------------</ant:echo>
+            <ant:delete dir="${directory}/target"/>
+            <ant:delete quiet="false" failonerror="false">
+                <ant:fileset dir="${directory}">
+                    <ant:include name="maven.log"/>
+                    <ant:include name="velocity.log*"/>
+                    <ant:include name="junit*.properties"/>
+                    <ant:include name="axis.log"/>
+                    <ant:include name="junit*.properties"/>
+                    <ant:include name="temp.properties"/>
+                </ant:fileset>
+            </ant:delete>
+            <ant:echo></ant:echo>
+        </j:forEach>
+        <ant:echo>+----------------------------------------</ant:echo>
+        <ant:echo>| Cleaning: target and etc/target</ant:echo>
+        <ant:echo>+----------------------------------------</ant:echo>
+        <ant:delete dir="target"/>
+        <ant:delete dir="etc/target"/>
+    </goal>
+
+    <goal name="clean">
+        <ant:delete dir="${user.home}/.axis2"/>
+        <ant:delete dir="${user.home}/.axis2home"/>
+        <attainGoal name="modules:clean"/>
+        <attainGoal name="clean-repo"/>
+    </goal>
+
+    <!-- ================================================================ -->
+    <!--- Clean the Repository -->
+    <!-- ================================================================ -->
+    <goal name="clean-repo">
+        <ant:delete>
+            <ant:fileset dir="${maven.repo.local}">
+                <ant:include name="axis/jars/axis2*.jar"/>
+            </ant:fileset>
+        </ant:delete>
+    </goal>
+
+    <goal name="all-tests">
+        <modules:reactor goals="jar:install,test,itest"/>
+    </goal>
+
+    <goal name="cleanse-sources">
+        <modules:reactor goals="cleanse-sources"/>
+    </goal>
+
+    <goal name="clover">
+        <modules:reactor goals="clover:on,jar:install,test"/>
+        <attainGoal name="clover:merge"/>
+        <attainGoal name="clover:report"/>
+    </goal>
+
+    <goal name="create-jar" prereqs="init">
+        <jar destfile="target/lib/axis2-${pom.currentVersion}.jar">
+            <fileset dir="modules/core/target/classes"/>
+            <!-- adding the tool classes. This is needed to get the ant task -->
+            <!--<fileset dir="modules/tool/target/classes"/>-->
+            <fileset dir="modules/common/target/classes"/>
+            <fileset dir="modules/xml/target/classes"/>
+            <fileset dir="modules/wsdl/target/classes"/>
+            <fileset dir="modules/adb/target/classes"/>
+            <fileset dir="modules/codegen/target/classes"/>
+            <fileset dir="modules/doom/target/classes"/>
+            <fileset dir="modules/addressing/target/classes"/>
+            <fileset dir="modules/addressing/target/">
+                <include name="modules/addressing.mar"/>
+            </fileset>
+        </jar>
+    </goal>
+
+    <goal name="create-lib">
+        <macros:copy-deps copyToDir="${target/lib}"/>
+    </goal>
+
+    <!-- ================================================================ -->
+    <!--- Create the War -->
+    <!-- ================================================================ -->
+    <goal name="war" prereqs="init">
+        <ant:mkdir dir="target/temp/war/lib"/>
+        <ant:mkdir dir="target/temp/war/toWEB-INF/modules"/>
+        <ant:mkdir dir="target/temp/war/toWEB-INF/services"/>
+
+        <!-- Copy the 3rd party libs, relevant to minimal bin distro  -->
+        <macros:copy-deps copyToDir="target/temp/war/lib"
+                          modules="core,common,xml,wsdl,adb"/>
+
+        <!-- Create axis2-core.jar -->
+        <jar destfile="target/temp/war/lib/axis2-core-${pom.currentVersion}.jar">
+            <fileset dir="modules/core/target/classes/"/>
+            <fileset dir="modules/common/target/classes/"/>
+            <fileset dir="modules/xml/target/classes/"/>
+            <fileset dir="modules/wsdl/target/classes/"/>
+        </jar>
+
+        <!-- Copy the adb jar -->
+        <ant:copy toDir="target/temp/war/lib">
+            <ant:fileset file="modules/adb/target/axis2-adb-${pom.currentVersion}.jar"/>
+        </ant:copy>
+
+        <!-- copy the addressing mar -->
+        <ant:copy toDir="target/temp/war/toWEB-INF/modules">
+            <ant:fileset file="modules/addressing/target/addressing.mar" />
+        </ant:copy>
+
+        <!-- copy the sample services -->
+        <ant:copy toDir="target/temp/war/toWEB-INF/services">
+            <ant:fileset file="modules/samples/target/toWar/services/version.aar" />
+        </ant:copy>
+
+        <ant:war destfile="target/dist/axis2-${pom.currentVersion}.war"
+                 webxml="modules/webapp/conf/web.xml">
+            <ant:fileset dir="modules/webapp"/>
+            <ant:lib dir="target/temp/war/lib">
+                <ant:include name="**"/>
+                <ant:exclude name="**servlet**"/>
+                <ant:exclude name="ant*.jar"/>
+            </ant:lib>
+            <ant:classes dir="modules/core/conf">
+                <ant:include name="*.properties"/>
+            </ant:classes>
+            <ant:webinf dir="modules/core/src/org/apache/axis2/deployment">
+                <ant:include name="*.xml"/>
+            </ant:webinf>
+            <ant:webinf dir="target/temp/war/toWEB-INF"/>
+        </ant:war>
+    </goal>
+
+    <!-- to transforme htmls to xdocs -->
+    <preGoal name="xdoc:jelly-transform">
+        <attainGoal name="html2xdoc"/>
+    </preGoal>
+
+    <!-- ================================================================ -->
+    <!--- Create the Java Docs -->
+    <!-- ================================================================ -->
+
+    <goal name="javadocs" prereqs="init, create-lib">
+        <ant:javadoc packagenames="org.apache.axis2.*"
+                     defaultexcludes="yes"
+                     destdir="target/apidocs"
+                     author="true"
+                     version="true"
+                     use="true"
+                     windowtitle="Axis2 API">
+            <ant:sourcepath>
+                <ant:pathelement location="modules/adb/src"/>
+                <ant:pathelement location="modules/addressing/src"/>
+                <ant:pathelement location="modules/codegen/src"/>
+                <ant:pathelement location="modules/core/src"/>
+                <ant:pathelement location="modules/doom/src"/>
+                <ant:pathelement location="modules/tool/src"/>
+                <ant:pathelement location="modules/wsdl/src"/>
+                <ant:pathelement location="modules/xml/src"/>
+            </ant:sourcepath>
+            <ant:classpath>
+                <ant:fileset dir="target/lib">
+                    <ant:include name="**/*.jar"/>
+                </ant:fileset>
+            </ant:classpath>
+            <ant:excludepackage name="org.apache.axis2.tool.codegen.*"/>
+            <ant:excludepackage name="org.apache.axis2.tool.service.*"/>
+        </ant:javadoc>
+    </goal>
+
+    <!-- ================================================================ -->
+    <!--- Reports -->
+    <!-- ================================================================ -->
+    <!-- Conditionally disable linkcheck based on a property. -->
+
+    <postGoal name="xdoc:register-reports">
+        <j:if test="${maven.allreports.disable}">
+            <echo>Reports are disabled. Deregistering all the reports ....</echo>
+            <attainGoal name="maven-linkcheck-plugin:deregister"/>
+            <echo>linkcheck is disabled.</echo>
+            <attainGoal name="maven-checkstyle-plugin:deregister"/>
+            <echo>checkstyle is disabled.</echo>
+            <attainGoal name="maven-changes-plugin:deregister"/>
+            <echo>changes is disabled.</echo>
+            <attainGoal name="maven-changelog-plugin:deregister"/>
+            <echo>changelog is disabled.</echo>
+            <attainGoal name="maven-license-plugin:deregister"/>
+            <echo>license is disabled.</echo>
+            <attainGoal name="maven-javadoc-plugin:deregister"/>
+            <echo>javadoc is disabled.</echo>
+            <attainGoal name="maven-junit-report-plugin:deregister"/>
+            <echo>junit-report is disabled.</echo>
+            <attainGoal name="maven-tasklist-plugin:deregister"/>
+            <echo>tasklist is disabled.</echo>
+        </j:if>
+
+    </postGoal>
+
+
+    <!-- ================================================================ -->
+    <!--- Create JUnit test reports -->
+    <!-- ================================================================ -->
+    <goal name="test-reports">
+        <mkdir dir="${basedir}/target/test-reports"/>
+        <ant:junitreport todir="${basedir}/target/test-reports">
+            <ant:fileset dir="${basedir}/">
+                <ant:include name="**/test-reports/TEST-*.xml"/>
+                <ant:include name="**/itest-reports/TEST-*.xml"/>
+            </ant:fileset>
+            <ant:report format="frames" todir="${basedir}/target/test-reports"
+                        styledir="${basedir}/etc"/>
+        </ant:junitreport>
+    </goal>
+
+    <define:taglib uri="macros">
+        <define:tag name="copy-deps">
+            <j:if test="${context.getVariable('modules') != null}">
+                <property name="modules" value="${modules}"/>
+            </j:if>
+            <attainGoal name="modules:reactor:init"/>
+            <ant:echo message="Fetching Dependencies for modules: ${modules.reactor.includes}"/>
+            <maven:reactor
+                    basedir="${basedir}"
+                    postProcessing="true"
+                    includes="${modules.reactor.includes}"
+                    banner="Executing (${goals}):"
+                    ignoreFailures="false"/>
+            <j:forEach var="x" items="${reactorProjects}">
+                <ant:echo message="Copying ${x} to ${copyToDir}"/>
+                <deploy:copy-deps todir="${copyToDir}"
+                                  projectDescriptor="${x.getFile()}"/>
+            </j:forEach>
+            <property name="modules" value="*"/>
+        </define:tag>
+    </define:taglib>
+</project>
+

Added: webservices/axis2/trunk/java/release-docs/readme-files/README-docs.txt
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/release-docs/readme-files/README-docs.txt?rev=367229&view=auto
==============================================================================
--- webservices/axis2/trunk/java/release-docs/readme-files/README-docs.txt (added)
+++ webservices/axis2/trunk/java/release-docs/readme-files/README-docs.txt Sun Jan  8 22:53:43 2006
@@ -0,0 +1,17 @@
+======================================================
+Apache Axis2 @axis2_version@ build (@release_date@)
+Documentation Release
+
+http://ws.apache.org/axis2
+------------------------------------------------------
+
+This release contains
+1. xdocs
+2. javadocs
+
+xdocs directory contain all documentation, tutorials etc. 
+related to this Axis2 release.
+
+javadocs directory contains all the Javadoc API 
+documentation of the standard Axis2 Release.
+

Added: webservices/axis2/trunk/java/release-docs/readme-files/README-min-bin.txt
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/release-docs/readme-files/README-min-bin.txt?rev=367229&view=auto
==============================================================================
--- webservices/axis2/trunk/java/release-docs/readme-files/README-min-bin.txt (added)
+++ webservices/axis2/trunk/java/release-docs/readme-files/README-min-bin.txt Sun Jan  8 22:53:43 2006
@@ -0,0 +1,14 @@
+======================================================
+Apache Axis2 @axis2_version@ build (@release_date@)
+Minimal Binary Release
+
+http://ws.apache.org/axis2
+------------------------------------------------------
+
+This is a lightweight binary release of Axis2 targeted at
+users who intend to embed Axis2 within their products.
+
+The lib directory contains
+1. axis2-@axis2_version@-core.jar - Core modules of Axis2
+2. axis2-@axis2_version@-adb.jar - Axis2 Data Binding framework
+3. All other third party libraries required by the above two libraries.

Added: webservices/axis2/trunk/java/release-docs/readme-files/README-min-src.txt
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/release-docs/readme-files/README-min-src.txt?rev=367229&view=auto
==============================================================================
--- webservices/axis2/trunk/java/release-docs/readme-files/README-min-src.txt (added)
+++ webservices/axis2/trunk/java/release-docs/readme-files/README-min-src.txt Sun Jan  8 22:53:43 2006
@@ -0,0 +1,22 @@
+======================================================
+Apache Axis2 @axis2_version@ build (@release_date@)
+Minimal Source Release
+
+http://ws.apache.org/axis2
+------------------------------------------------------
+
+This is a lightweight source release of Axis2 targeted at
+users who intend to embed Axis2 within their products.
+
+The modules directory contains source code of the following 
+Axis2 modules:
+
+1. core
+2. common
+3. xml
+4. wsdl
+5. adb
+
+The lib directory contains all third party library dependencies
+of the above modules.
+

Added: webservices/axis2/trunk/java/release-docs/readme-files/README-std-bin.txt
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/release-docs/readme-files/README-std-bin.txt?rev=367229&view=auto
==============================================================================
--- webservices/axis2/trunk/java/release-docs/readme-files/README-std-bin.txt (added)
+++ webservices/axis2/trunk/java/release-docs/readme-files/README-std-bin.txt Sun Jan  8 22:53:43 2006
@@ -0,0 +1,25 @@
+======================================================
+Apache Axis2 @axis2_version@ build (@release_date@)
+Standard Binary Release
+
+http://ws.apache.org/axis2
+------------------------------------------------------
+
+This is the Standard Binary release of Axis2.
+
+The lib directory contains;
+
+1. aaxis2-core-@axis2_version@.jar
+2. axis2-adb-@axis2_version@.jar
+3. axis2-codegen-@axis2_version@.jar
+4. axis2-doom-@axis2_version@.jar
+5. All 3rd party dependencies of the above jars
+
+The mar directory contains the deployable addressing
+module(addressing.mar)
+
+The samples directory contains all the Axis2 module 
+& service samples.
+
+The webapps directory includes all the contents of 
+the Axis2 Admin Web Application.

Added: webservices/axis2/trunk/java/release-docs/readme-files/README-std-src.txt
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/release-docs/readme-files/README-std-src.txt?rev=367229&view=auto
==============================================================================
--- webservices/axis2/trunk/java/release-docs/readme-files/README-std-src.txt (added)
+++ webservices/axis2/trunk/java/release-docs/readme-files/README-std-src.txt Sun Jan  8 22:53:43 2006
@@ -0,0 +1,26 @@
+======================================================
+Apache Axis2 @axis2_version@ build (@release_date@)
+Standard Source Release
+
+http://ws.apache.org/axis2
+------------------------------------------------------
+
+This is the Standard source release of Axis2.
+
+The modules directory contains source code of the following 
+Axis2 modules:
+
+1. core
+2. common
+3. xml
+4. wsdl
+5. adb
+6. codegen
+7. webapp
+8. doom
+
+The lib directory contains all third party library dependencies
+of the above modules.
+
+The samples directory contains all the Axis2 module & service samples.
+

Added: webservices/axis2/trunk/java/release-docs/release-etc/min/project.properties
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/release-docs/release-etc/min/project.properties?rev=367229&view=auto
==============================================================================
--- webservices/axis2/trunk/java/release-docs/release-etc/min/project.properties (added)
+++ webservices/axis2/trunk/java/release-docs/release-etc/min/project.properties Sun Jan  8 22:53:43 2006
@@ -0,0 +1,125 @@
+# -------------------------------------------------------------------
+# Copyright 2001-2004 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.
+# -------------------------------------------------------------------
+
+
+# -------------------------------------------------------------------
+#                Project Information
+# -------------------------------------------------------------------
+axis2_version=0.94-SNAPSHOT
+release_date=January 9, 2006
+
+# -------------------------------------------------------------------
+#                Dependency Repositories
+# -------------------------------------------------------------------
+maven.repo.remote=\
+http://www.ibiblio.org/maven,\
+http://cvs.apache.org/repository/,\
+http://www.apache.org/dist/java-repository/,\
+http://www.openejb.org/maven,\
+http://dist.codehaus.org,\
+http://mirrors.sunsite.dk/maven/,\
+http://people.apache.org/~dims/maven/
+
+
+# -------------------------------------------------------------------
+#                Multiproject includes and excludes
+# -------------------------------------------------------------------
+
+optional.includes=
+
+maven.multiproject.includes=\
+modules/core/project.xml,\
+modules/common/project.xml,\
+modules/xml/project.xml,\
+modules/wsdl/project.xml,\
+modules/adb/project.xml,\
+${optional.includes}
+
+# -------------------------------------------------------------------
+#                JUnit
+# -------------------------------------------------------------------
+maven.junit.jvmargs=-Djava.awt.headless=true
+maven.junit.fork=true
+
+# -------------------------------------------------------------------
+#                Compile
+# -------------------------------------------------------------------
+maven.compile.optimize=false
+maven.compile.fork=true
+
+# -------------------------------------------------------------------
+#                Versions of dependencies
+# -------------------------------------------------------------------
+ant.version=1.6.5
+axis.wsdl4j.version=1.2
+backport_util_concurrent.version=2.0_01_pd
+bcprov.version=jdk13-128
+commons.codec.version=1.3
+commons.discovery.version=0.2
+commons.fileupload.version=1.0
+commons.httpclient.version=3.0
+commons.logging.version=1.0.4
+geronimo.spec.activation.version=1.0.2-rc4
+geronimo.spec.javamail.version=1.3.1-rc5
+geronimo.spec.jms.version=1.1-rc4
+geronimo.spec.servlet.version=2.4-rc4
+servletapi.version=2.3
+groovy.all.version=1.0-jsr-01
+jaxen.version=1.1-beta-7
+junit.version=3.8.1
+log4j.version=1.2.12
+maven.itest.plugin.version=1.0
+opensaml.version=1.0.1
+stax.api.version=1.0
+stax.impl.groupid=woodstox
+stax.impl.artifactid=wstx
+stax.impl.version=asl-2.8.1
+wss4j.version=SNAPSHOT
+xalan.version=2.6.0
+xbean.version=2.1.0
+xerces.version=2.7.1
+xml_apis.version=1.3.02
+XmlSchema.version=SNAPSHOT
+xmlsec.version=1.2.1
+xmlunit.version=1.0
+ws_policy.version=SNAPSHOT
+
+#for JAM
+annogen.version=0.1.0
+
+#stax.impl.groupid=stax
+#stax.impl.artifactid=stax
+#stax.impl.version=1.1.2-dev
+
+# -------------------------------------------------------------------
+#                Clover
+# -------------------------------------------------------------------
+maven.clover.build = ${maven.build.dir}
+#maven.clover.includes=**/org/apache/**.java
+maven.clover.excludes=sample/**/*.java,userguide/**/*.java, test/**/*.java
+maven.clover.license.path=clover.license
+
+# -------------------------------------------------------------------
+#                xdoc
+# -------------------------------------------------------------------
+maven.xdoc.date=left
+maven.xdoc.version=${pom.currentVersion}
+maven.xdoc.includeProjectDocumentation=no
+maven.html2xdoc.enabled=false
+maven.html2xdoc.dir=./xdocs
+maven.pdf.navigationFile=navigation-pdf.xml
+maven.allreports.disable=true
+