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 03:45:53 UTC

svn commit: r367168 - in /webservices/axis2/trunk/java: etc/maven.xml maven.xml xdocs/modules/WS-Addressing/ xdocs/modules/index.html

Author: chinthaka
Date: Sun Jan  8 18:45:44 2006
New Revision: 367168

URL: http://svn.apache.org/viewcvs?rev=367168&view=rev
Log:
We had two maven.xml files for all the projects. One in root and one in etc. Collapsing both of them in to one in root.

Removed:
    webservices/axis2/trunk/java/etc/maven.xml
    webservices/axis2/trunk/java/xdocs/modules/WS-Addressing/
Modified:
    webservices/axis2/trunk/java/maven.xml
    webservices/axis2/trunk/java/xdocs/modules/index.html

Modified: webservices/axis2/trunk/java/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/maven.xml?rev=367168&r1=367167&r2=367168&view=diff
==============================================================================
--- webservices/axis2/trunk/java/maven.xml (original)
+++ webservices/axis2/trunk/java/maven.xml Sun Jan  8 18:45:44 2006
@@ -310,8 +310,63 @@
         <modules:reactor goals="jar:install,test,itest"/>
     </goal>
 
-    <goal name="cleanse-sources">
-        <modules:reactor goals="cleanse-sources"/>
+    <!-- Cleanse source files -->
+    <goal name="cleanse-sources"
+        description="Cleanse source files, removing tabs and translating CRLF -> LF">
+
+        <j:scope xmlns="jelly:ant">
+
+            <!-- Cleanse sources -->
+            <j:set var="srcdir" value="${basedir}/src/java"/>
+            <u:available file="">
+                <fixcrlf srcdir="${srcdir}" eol="lf" eof="remove" tab="remove" tablength="4">
+                    <include name="**/*.java"/>
+                </fixcrlf>
+                <fixcrlf srcdir="${basedir}" eol="lf" eof="remove" tab="remove" tablength="4">
+                    <include name="**/*.xml"/>
+                    <include name="**/*.html"/>
+                </fixcrlf>
+            </u:available>
+
+            <!-- Cleanse test sources -->
+            <j:set var="srcdir" value="${basedir}/src/test"/>
+            <u:available file="${srcdir}">
+                <fixcrlf srcdir="${srcdir}" eol="lf" eof="remove" tab="remove" tablength="4">
+                    <include name="**/*.java"/>
+                    <include name="**/*.xml"/>
+                    <include name="**/*.html"/>
+                </fixcrlf>
+                <fixcrlf srcdir="${srcdir}" eol="lf" eof="remove" tab="remove" tablength="4">
+                    <include name="**/*.xml"/>
+                    <include name="**/*.html"/>
+                </fixcrlf>
+            </u:available>
+
+            <!-- Cleanse xdocs -->
+            <j:set var="srcdir" value="${basedir}/src/xdocs"/>
+            <u:available file="${srcdir}">
+                <fixcrlf srcdir="${srcdir}" eol="lf" eof="remove" tab="remove" tablength="4">
+                    <include name="**/*.xml"/>
+                    <include name="**/*.html"/>
+                </fixcrlf>
+            </u:available>
+
+            <!-- Cleanse build files -->
+            <fixcrlf srcdir="." eol="lf" tab="remove" eof="remove" tablength="4">
+                <include name="project.xml"/>
+                <include name="maven.xml"/>
+            </fixcrlf>
+
+            <!-- Cleanse scripts -->
+            <j:set var="srcdir" value="${basedir}/src/bin"/>
+            <u:available file="${srcdir}">
+                <fixcrlf srcdir="${srcdir}" eol="lf" eof="remove" tab="remove" tablength="4">
+                    <include name="**/*"/>
+                </fixcrlf>
+            </u:available>
+
+        </j:scope>
+
     </goal>
 
     <goal name="clover">
@@ -569,5 +624,85 @@
         <ant:report format="frames" todir="${basedir}/target/test-reports" styledir="${basedir}/etc"/>
       </ant:junitreport>
     </goal>
+
+    <goal name="rebuild">
+        <attainGoal name="clean"/>
+        <attainGoal name="build"/>
+    </goal>
+
+    <!-- For testing -->
+    <goal name="hello">
+        <ant:echo>
+            H E L L O
+            ---------
+            Module Name ${pom.name} [${pom.currentVersion}]
+            Axis2: ${axis2_version}
+        </ant:echo>
+    </goal>
+
+    <postGoal name="java:prepare-filesystem">
+      <u:file var="file" name="${maven.home}/lib/jalopy.jar"/>
+      <j:if test="${file.exists()}">
+        <ant:path id="jalopy.library">
+          <ant:fileset dir="${maven.home}/lib">
+            <ant:include name="jalopy.jar"/>
+          </ant:fileset>
+        </ant:path>
+        <maven:addPath id="maven.dependency.classpath" refid="jalopy.library"/>
+      </j:if>
+    </postGoal>
+
+    <!-- Remove the log files -->
+    <goal name="clobber"
+        description="Removes all (non-repository installed) build generated files">
+
+        <!-- Let clean:clean do some work first -->
+        <attainGoal name="clean:clean"/>
+
+        <j:jelly xmlns="jelly:ant">
+            <delete quiet="false" failonerror="false">
+                <fileset dir="${basedir}">
+                    <include name="maven.log"/>
+                    <include name="velocity.log*"/>
+                    <include name="junit*.properties"/>
+                </fileset>
+            </delete>
+        </j:jelly>
+
+    </goal>
+    <goal name="java-src"
+        description="Creates an archive containing only java source.">
+
+        <u:available file="${basedir}/src/java">
+            <j:set var="javaSrcBuilt" value="true"/>
+            <ant:mkdir dir="${basedir}/target"/>
+            <ant:jar destfile="${basedir}/target/${pom.artifactId}-${pom.currentVersion}-java-src.jar">
+                <fileset dir="${basedir}/src/java"/>
+                <u:available file="${basedir}/target/xmlbeans">
+                    <fileset dir="${basedir}/target/xmlbeans"/>
+                </u:available>
+            </ant:jar>
+        </u:available>
+
+        <j:if test="${javaSrcBuilt != 'true'}">
+            <u:available file="${basedir}/target/xmlbeans">
+                <j:set var="java-src.built" value="true"/>
+                <ant:mkdir dir="${basedir}/target"/>
+                <ant:jar destfile="${basedir}/target/${pom.artifactId}-${pom.currentVersion}-java-src.jar">
+                    <fileset dir="${basedir}/target/xmlbeans"/>
+                </ant:jar>
+            </u:available>
+        </j:if>
+    </goal>
+
+    <!-- If there is no src/test directory you can
+    turn off clover in that module by overriding this goal to do nothing -->
+    <goal name="clover.wrapper">
+        <attainGoal name="clover"/>
+    </goal>
+
+    <preGoal name="clover:test">
+        <j:set var="cloveroverride" value="true"/>
+    </preGoal>
 </project>
 

Modified: webservices/axis2/trunk/java/xdocs/modules/index.html
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/modules/index.html?rev=367168&r1=367167&r2=367168&view=diff
==============================================================================
--- webservices/axis2/trunk/java/xdocs/modules/index.html (original)
+++ webservices/axis2/trunk/java/xdocs/modules/index.html Sun Jan  8 18:45:44 2006
@@ -1,8 +1,7 @@
 <title>:: Axis2 Modules ::</title><h2>Axis2 Modules </h2>
 <p>Axis2 architecture is flexible enough to extend its functionalities using modules. This page is maintained to keep track of the relevant modules that are developed on top of Axis2.</p>
 <table width="200" border="1" align="center" cellpadding="1">
-  <caption align="top">
-  Modules Releases
+  <caption align="top">&nbsp;
   </caption>
   <tr>
     <th scope="col">Name</th>
@@ -13,35 +12,19 @@
     <th scope="col">Comments</th>
   </tr>
   <tr>
-    <td><a href="wss4j/index.html">WSS4J</a></td>
-    <td>&nbsp;</td>
-    <td>0.94</td>
-    <td>0.94</td>
-    <td><a href="%5Bpreferred%5D/ws/axis2/modules/0_94/addressing.mar">mar</a> </td>
-    <td>&nbsp;</td>
-  </tr>
-  <tr>
     <td><a href="addressing/index.html">Addressing</a></td>
     <td>This is an implementation of WS-Addressing submission version (2004-08) and WS-Addressing 2005-08 versions. Complete WS-Addressing Final version will be available, once the specification itself gets finalized.</td>
     <td>0.94</td>
     <td>0.94</td>
-    <td><a href="%5Bpreferred%5D/ws/axis2/modules/0_94/security.mar">mar</a></td>
-    <td>&nbsp;</td>
-  </tr>
-  <tr>
-    <td>&nbsp;</td>
-    <td>&nbsp;</td>
-    <td>&nbsp;</td>
-    <td>&nbsp;</td>
-    <td>&nbsp;</td>
+    <td><a href="%5Bpreferred%5D/ws/axis2/modules/0_94/addressing.mar">mar</a></td>
     <td>&nbsp;</td>
   </tr>
   <tr>
+    <td><a href="wss4j/index.html">WSS4J</a></td>
     <td>&nbsp;</td>
-    <td>&nbsp;</td>
-    <td>&nbsp;</td>
-    <td>&nbsp;</td>
-    <td>&nbsp;</td>
+    <td>0.94</td>
+    <td>0.94</td>
+    <td><a href="%5Bpreferred%5D/ws/axis2/modules/0_94/security.mar">mar</a> </td>
     <td>&nbsp;</td>
   </tr>
 </table>



Re: svn commit: r367168 - in /webservices/axis2/trunk/java: etc/maven.xml maven.xml xdocs/modules/WS-Addressing/ xdocs/modules/index.html

Posted by Davanum Srinivas <da...@gmail.com>.
-0 the targets in etc/maven.xml are available to *ALL* maven.xml's in
any specific module. For example, i can run "maven cleanse-sources" in
say codegen. Now with this change, i can't do that :( Please
reconsider this change.

thanks,
dims

On 1/8/06, chinthaka@apache.org <ch...@apache.org> wrote:
> Author: chinthaka
> Date: Sun Jan  8 18:45:44 2006
> New Revision: 367168
>
> URL: http://svn.apache.org/viewcvs?rev=367168&view=rev
> Log:
> We had two maven.xml files for all the projects. One in root and one in etc. Collapsing both of them in to one in root.
>
> Removed:
>     webservices/axis2/trunk/java/etc/maven.xml
>     webservices/axis2/trunk/java/xdocs/modules/WS-Addressing/
> Modified:
>     webservices/axis2/trunk/java/maven.xml
>     webservices/axis2/trunk/java/xdocs/modules/index.html
>
> Modified: webservices/axis2/trunk/java/maven.xml
> URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/maven.xml?rev=367168&r1=367167&r2=367168&view=diff
> ==============================================================================
> --- webservices/axis2/trunk/java/maven.xml (original)
> +++ webservices/axis2/trunk/java/maven.xml Sun Jan  8 18:45:44 2006
> @@ -310,8 +310,63 @@
>          <modules:reactor goals="jar:install,test,itest"/>
>      </goal>
>
> -    <goal name="cleanse-sources">
> -        <modules:reactor goals="cleanse-sources"/>
> +    <!-- Cleanse source files -->
> +    <goal name="cleanse-sources"
> +        description="Cleanse source files, removing tabs and translating CRLF -> LF">
> +
> +        <j:scope xmlns="jelly:ant">
> +
> +            <!-- Cleanse sources -->
> +            <j:set var="srcdir" value="${basedir}/src/java"/>
> +            <u:available file="">
> +                <fixcrlf srcdir="${srcdir}" eol="lf" eof="remove" tab="remove" tablength="4">
> +                    <include name="**/*.java"/>
> +                </fixcrlf>
> +                <fixcrlf srcdir="${basedir}" eol="lf" eof="remove" tab="remove" tablength="4">
> +                    <include name="**/*.xml"/>
> +                    <include name="**/*.html"/>
> +                </fixcrlf>
> +            </u:available>
> +
> +            <!-- Cleanse test sources -->
> +            <j:set var="srcdir" value="${basedir}/src/test"/>
> +            <u:available file="${srcdir}">
> +                <fixcrlf srcdir="${srcdir}" eol="lf" eof="remove" tab="remove" tablength="4">
> +                    <include name="**/*.java"/>
> +                    <include name="**/*.xml"/>
> +                    <include name="**/*.html"/>
> +                </fixcrlf>
> +                <fixcrlf srcdir="${srcdir}" eol="lf" eof="remove" tab="remove" tablength="4">
> +                    <include name="**/*.xml"/>
> +                    <include name="**/*.html"/>
> +                </fixcrlf>
> +            </u:available>
> +
> +            <!-- Cleanse xdocs -->
> +            <j:set var="srcdir" value="${basedir}/src/xdocs"/>
> +            <u:available file="${srcdir}">
> +                <fixcrlf srcdir="${srcdir}" eol="lf" eof="remove" tab="remove" tablength="4">
> +                    <include name="**/*.xml"/>
> +                    <include name="**/*.html"/>
> +                </fixcrlf>
> +            </u:available>
> +
> +            <!-- Cleanse build files -->
> +            <fixcrlf srcdir="." eol="lf" tab="remove" eof="remove" tablength="4">
> +                <include name="project.xml"/>
> +                <include name="maven.xml"/>
> +            </fixcrlf>
> +
> +            <!-- Cleanse scripts -->
> +            <j:set var="srcdir" value="${basedir}/src/bin"/>
> +            <u:available file="${srcdir}">
> +                <fixcrlf srcdir="${srcdir}" eol="lf" eof="remove" tab="remove" tablength="4">
> +                    <include name="**/*"/>
> +                </fixcrlf>
> +            </u:available>
> +
> +        </j:scope>
> +
>      </goal>
>
>      <goal name="clover">
> @@ -569,5 +624,85 @@
>          <ant:report format="frames" todir="${basedir}/target/test-reports" styledir="${basedir}/etc"/>
>        </ant:junitreport>
>      </goal>
> +
> +    <goal name="rebuild">
> +        <attainGoal name="clean"/>
> +        <attainGoal name="build"/>
> +    </goal>
> +
> +    <!-- For testing -->
> +    <goal name="hello">
> +        <ant:echo>
> +            H E L L O
> +            ---------
> +            Module Name ${pom.name} [${pom.currentVersion}]
> +            Axis2: ${axis2_version}
> +        </ant:echo>
> +    </goal>
> +
> +    <postGoal name="java:prepare-filesystem">
> +      <u:file var="file" name="${maven.home}/lib/jalopy.jar"/>
> +      <j:if test="${file.exists()}">
> +        <ant:path id="jalopy.library">
> +          <ant:fileset dir="${maven.home}/lib">
> +            <ant:include name="jalopy.jar"/>
> +          </ant:fileset>
> +        </ant:path>
> +        <maven:addPath id="maven.dependency.classpath" refid="jalopy.library"/>
> +      </j:if>
> +    </postGoal>
> +
> +    <!-- Remove the log files -->
> +    <goal name="clobber"
> +        description="Removes all (non-repository installed) build generated files">
> +
> +        <!-- Let clean:clean do some work first -->
> +        <attainGoal name="clean:clean"/>
> +
> +        <j:jelly xmlns="jelly:ant">
> +            <delete quiet="false" failonerror="false">
> +                <fileset dir="${basedir}">
> +                    <include name="maven.log"/>
> +                    <include name="velocity.log*"/>
> +                    <include name="junit*.properties"/>
> +                </fileset>
> +            </delete>
> +        </j:jelly>
> +
> +    </goal>
> +    <goal name="java-src"
> +        description="Creates an archive containing only java source.">
> +
> +        <u:available file="${basedir}/src/java">
> +            <j:set var="javaSrcBuilt" value="true"/>
> +            <ant:mkdir dir="${basedir}/target"/>
> +            <ant:jar destfile="${basedir}/target/${pom.artifactId}-${pom.currentVersion}-java-src.jar">
> +                <fileset dir="${basedir}/src/java"/>
> +                <u:available file="${basedir}/target/xmlbeans">
> +                    <fileset dir="${basedir}/target/xmlbeans"/>
> +                </u:available>
> +            </ant:jar>
> +        </u:available>
> +
> +        <j:if test="${javaSrcBuilt != 'true'}">
> +            <u:available file="${basedir}/target/xmlbeans">
> +                <j:set var="java-src.built" value="true"/>
> +                <ant:mkdir dir="${basedir}/target"/>
> +                <ant:jar destfile="${basedir}/target/${pom.artifactId}-${pom.currentVersion}-java-src.jar">
> +                    <fileset dir="${basedir}/target/xmlbeans"/>
> +                </ant:jar>
> +            </u:available>
> +        </j:if>
> +    </goal>
> +
> +    <!-- If there is no src/test directory you can
> +    turn off clover in that module by overriding this goal to do nothing -->
> +    <goal name="clover.wrapper">
> +        <attainGoal name="clover"/>
> +    </goal>
> +
> +    <preGoal name="clover:test">
> +        <j:set var="cloveroverride" value="true"/>
> +    </preGoal>
>  </project>
>
>
> Modified: webservices/axis2/trunk/java/xdocs/modules/index.html
> URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/modules/index.html?rev=367168&r1=367167&r2=367168&view=diff
> ==============================================================================
> --- webservices/axis2/trunk/java/xdocs/modules/index.html (original)
> +++ webservices/axis2/trunk/java/xdocs/modules/index.html Sun Jan  8 18:45:44 2006
> @@ -1,8 +1,7 @@
>  <title>:: Axis2 Modules ::</title><h2>Axis2 Modules </h2>
>  <p>Axis2 architecture is flexible enough to extend its functionalities using modules. This page is maintained to keep track of the relevant modules that are developed on top of Axis2.</p>
>  <table width="200" border="1" align="center" cellpadding="1">
> -  <caption align="top">
> -  Modules Releases
> +  <caption align="top">&nbsp;
>    </caption>
>    <tr>
>      <th scope="col">Name</th>
> @@ -13,35 +12,19 @@
>      <th scope="col">Comments</th>
>    </tr>
>    <tr>
> -    <td><a href="wss4j/index.html">WSS4J</a></td>
> -    <td>&nbsp;</td>
> -    <td>0.94</td>
> -    <td>0.94</td>
> -    <td><a href="%5Bpreferred%5D/ws/axis2/modules/0_94/addressing.mar">mar</a> </td>
> -    <td>&nbsp;</td>
> -  </tr>
> -  <tr>
>      <td><a href="addressing/index.html">Addressing</a></td>
>      <td>This is an implementation of WS-Addressing submission version (2004-08) and WS-Addressing 2005-08 versions. Complete WS-Addressing Final version will be available, once the specification itself gets finalized.</td>
>      <td>0.94</td>
>      <td>0.94</td>
> -    <td><a href="%5Bpreferred%5D/ws/axis2/modules/0_94/security.mar">mar</a></td>
> -    <td>&nbsp;</td>
> -  </tr>
> -  <tr>
> -    <td>&nbsp;</td>
> -    <td>&nbsp;</td>
> -    <td>&nbsp;</td>
> -    <td>&nbsp;</td>
> -    <td>&nbsp;</td>
> +    <td><a href="%5Bpreferred%5D/ws/axis2/modules/0_94/addressing.mar">mar</a></td>
>      <td>&nbsp;</td>
>    </tr>
>    <tr>
> +    <td><a href="wss4j/index.html">WSS4J</a></td>
>      <td>&nbsp;</td>
> -    <td>&nbsp;</td>
> -    <td>&nbsp;</td>
> -    <td>&nbsp;</td>
> -    <td>&nbsp;</td>
> +    <td>0.94</td>
> +    <td>0.94</td>
> +    <td><a href="%5Bpreferred%5D/ws/axis2/modules/0_94/security.mar">mar</a> </td>
>      <td>&nbsp;</td>
>    </tr>
>  </table>
>
>
>


--
Davanum Srinivas : http://wso2.com/blogs/

Re: svn commit: r367168 - in /webservices/axis2/trunk/java: etc/maven.xml maven.xml xdocs/modules/WS-Addressing/ xdocs/modules/index.html

Posted by Davanum Srinivas <da...@gmail.com>.
-0 the targets in etc/maven.xml are available to *ALL* maven.xml's in
any specific module. For example, i can run "maven cleanse-sources" in
say codegen. Now with this change, i can't do that :( Please
reconsider this change.

thanks,
dims

On 1/8/06, chinthaka@apache.org <ch...@apache.org> wrote:
> Author: chinthaka
> Date: Sun Jan  8 18:45:44 2006
> New Revision: 367168
>
> URL: http://svn.apache.org/viewcvs?rev=367168&view=rev
> Log:
> We had two maven.xml files for all the projects. One in root and one in etc. Collapsing both of them in to one in root.
>
> Removed:
>     webservices/axis2/trunk/java/etc/maven.xml
>     webservices/axis2/trunk/java/xdocs/modules/WS-Addressing/
> Modified:
>     webservices/axis2/trunk/java/maven.xml
>     webservices/axis2/trunk/java/xdocs/modules/index.html
>
> Modified: webservices/axis2/trunk/java/maven.xml
> URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/maven.xml?rev=367168&r1=367167&r2=367168&view=diff
> ==============================================================================
> --- webservices/axis2/trunk/java/maven.xml (original)
> +++ webservices/axis2/trunk/java/maven.xml Sun Jan  8 18:45:44 2006
> @@ -310,8 +310,63 @@
>          <modules:reactor goals="jar:install,test,itest"/>
>      </goal>
>
> -    <goal name="cleanse-sources">
> -        <modules:reactor goals="cleanse-sources"/>
> +    <!-- Cleanse source files -->
> +    <goal name="cleanse-sources"
> +        description="Cleanse source files, removing tabs and translating CRLF -> LF">
> +
> +        <j:scope xmlns="jelly:ant">
> +
> +            <!-- Cleanse sources -->
> +            <j:set var="srcdir" value="${basedir}/src/java"/>
> +            <u:available file="">
> +                <fixcrlf srcdir="${srcdir}" eol="lf" eof="remove" tab="remove" tablength="4">
> +                    <include name="**/*.java"/>
> +                </fixcrlf>
> +                <fixcrlf srcdir="${basedir}" eol="lf" eof="remove" tab="remove" tablength="4">
> +                    <include name="**/*.xml"/>
> +                    <include name="**/*.html"/>
> +                </fixcrlf>
> +            </u:available>
> +
> +            <!-- Cleanse test sources -->
> +            <j:set var="srcdir" value="${basedir}/src/test"/>
> +            <u:available file="${srcdir}">
> +                <fixcrlf srcdir="${srcdir}" eol="lf" eof="remove" tab="remove" tablength="4">
> +                    <include name="**/*.java"/>
> +                    <include name="**/*.xml"/>
> +                    <include name="**/*.html"/>
> +                </fixcrlf>
> +                <fixcrlf srcdir="${srcdir}" eol="lf" eof="remove" tab="remove" tablength="4">
> +                    <include name="**/*.xml"/>
> +                    <include name="**/*.html"/>
> +                </fixcrlf>
> +            </u:available>
> +
> +            <!-- Cleanse xdocs -->
> +            <j:set var="srcdir" value="${basedir}/src/xdocs"/>
> +            <u:available file="${srcdir}">
> +                <fixcrlf srcdir="${srcdir}" eol="lf" eof="remove" tab="remove" tablength="4">
> +                    <include name="**/*.xml"/>
> +                    <include name="**/*.html"/>
> +                </fixcrlf>
> +            </u:available>
> +
> +            <!-- Cleanse build files -->
> +            <fixcrlf srcdir="." eol="lf" tab="remove" eof="remove" tablength="4">
> +                <include name="project.xml"/>
> +                <include name="maven.xml"/>
> +            </fixcrlf>
> +
> +            <!-- Cleanse scripts -->
> +            <j:set var="srcdir" value="${basedir}/src/bin"/>
> +            <u:available file="${srcdir}">
> +                <fixcrlf srcdir="${srcdir}" eol="lf" eof="remove" tab="remove" tablength="4">
> +                    <include name="**/*"/>
> +                </fixcrlf>
> +            </u:available>
> +
> +        </j:scope>
> +
>      </goal>
>
>      <goal name="clover">
> @@ -569,5 +624,85 @@
>          <ant:report format="frames" todir="${basedir}/target/test-reports" styledir="${basedir}/etc"/>
>        </ant:junitreport>
>      </goal>
> +
> +    <goal name="rebuild">
> +        <attainGoal name="clean"/>
> +        <attainGoal name="build"/>
> +    </goal>
> +
> +    <!-- For testing -->
> +    <goal name="hello">
> +        <ant:echo>
> +            H E L L O
> +            ---------
> +            Module Name ${pom.name} [${pom.currentVersion}]
> +            Axis2: ${axis2_version}
> +        </ant:echo>
> +    </goal>
> +
> +    <postGoal name="java:prepare-filesystem">
> +      <u:file var="file" name="${maven.home}/lib/jalopy.jar"/>
> +      <j:if test="${file.exists()}">
> +        <ant:path id="jalopy.library">
> +          <ant:fileset dir="${maven.home}/lib">
> +            <ant:include name="jalopy.jar"/>
> +          </ant:fileset>
> +        </ant:path>
> +        <maven:addPath id="maven.dependency.classpath" refid="jalopy.library"/>
> +      </j:if>
> +    </postGoal>
> +
> +    <!-- Remove the log files -->
> +    <goal name="clobber"
> +        description="Removes all (non-repository installed) build generated files">
> +
> +        <!-- Let clean:clean do some work first -->
> +        <attainGoal name="clean:clean"/>
> +
> +        <j:jelly xmlns="jelly:ant">
> +            <delete quiet="false" failonerror="false">
> +                <fileset dir="${basedir}">
> +                    <include name="maven.log"/>
> +                    <include name="velocity.log*"/>
> +                    <include name="junit*.properties"/>
> +                </fileset>
> +            </delete>
> +        </j:jelly>
> +
> +    </goal>
> +    <goal name="java-src"
> +        description="Creates an archive containing only java source.">
> +
> +        <u:available file="${basedir}/src/java">
> +            <j:set var="javaSrcBuilt" value="true"/>
> +            <ant:mkdir dir="${basedir}/target"/>
> +            <ant:jar destfile="${basedir}/target/${pom.artifactId}-${pom.currentVersion}-java-src.jar">
> +                <fileset dir="${basedir}/src/java"/>
> +                <u:available file="${basedir}/target/xmlbeans">
> +                    <fileset dir="${basedir}/target/xmlbeans"/>
> +                </u:available>
> +            </ant:jar>
> +        </u:available>
> +
> +        <j:if test="${javaSrcBuilt != 'true'}">
> +            <u:available file="${basedir}/target/xmlbeans">
> +                <j:set var="java-src.built" value="true"/>
> +                <ant:mkdir dir="${basedir}/target"/>
> +                <ant:jar destfile="${basedir}/target/${pom.artifactId}-${pom.currentVersion}-java-src.jar">
> +                    <fileset dir="${basedir}/target/xmlbeans"/>
> +                </ant:jar>
> +            </u:available>
> +        </j:if>
> +    </goal>
> +
> +    <!-- If there is no src/test directory you can
> +    turn off clover in that module by overriding this goal to do nothing -->
> +    <goal name="clover.wrapper">
> +        <attainGoal name="clover"/>
> +    </goal>
> +
> +    <preGoal name="clover:test">
> +        <j:set var="cloveroverride" value="true"/>
> +    </preGoal>
>  </project>
>
>
> Modified: webservices/axis2/trunk/java/xdocs/modules/index.html
> URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/modules/index.html?rev=367168&r1=367167&r2=367168&view=diff
> ==============================================================================
> --- webservices/axis2/trunk/java/xdocs/modules/index.html (original)
> +++ webservices/axis2/trunk/java/xdocs/modules/index.html Sun Jan  8 18:45:44 2006
> @@ -1,8 +1,7 @@
>  <title>:: Axis2 Modules ::</title><h2>Axis2 Modules </h2>
>  <p>Axis2 architecture is flexible enough to extend its functionalities using modules. This page is maintained to keep track of the relevant modules that are developed on top of Axis2.</p>
>  <table width="200" border="1" align="center" cellpadding="1">
> -  <caption align="top">
> -  Modules Releases
> +  <caption align="top">&nbsp;
>    </caption>
>    <tr>
>      <th scope="col">Name</th>
> @@ -13,35 +12,19 @@
>      <th scope="col">Comments</th>
>    </tr>
>    <tr>
> -    <td><a href="wss4j/index.html">WSS4J</a></td>
> -    <td>&nbsp;</td>
> -    <td>0.94</td>
> -    <td>0.94</td>
> -    <td><a href="%5Bpreferred%5D/ws/axis2/modules/0_94/addressing.mar">mar</a> </td>
> -    <td>&nbsp;</td>
> -  </tr>
> -  <tr>
>      <td><a href="addressing/index.html">Addressing</a></td>
>      <td>This is an implementation of WS-Addressing submission version (2004-08) and WS-Addressing 2005-08 versions. Complete WS-Addressing Final version will be available, once the specification itself gets finalized.</td>
>      <td>0.94</td>
>      <td>0.94</td>
> -    <td><a href="%5Bpreferred%5D/ws/axis2/modules/0_94/security.mar">mar</a></td>
> -    <td>&nbsp;</td>
> -  </tr>
> -  <tr>
> -    <td>&nbsp;</td>
> -    <td>&nbsp;</td>
> -    <td>&nbsp;</td>
> -    <td>&nbsp;</td>
> -    <td>&nbsp;</td>
> +    <td><a href="%5Bpreferred%5D/ws/axis2/modules/0_94/addressing.mar">mar</a></td>
>      <td>&nbsp;</td>
>    </tr>
>    <tr>
> +    <td><a href="wss4j/index.html">WSS4J</a></td>
>      <td>&nbsp;</td>
> -    <td>&nbsp;</td>
> -    <td>&nbsp;</td>
> -    <td>&nbsp;</td>
> -    <td>&nbsp;</td>
> +    <td>0.94</td>
> +    <td>0.94</td>
> +    <td><a href="%5Bpreferred%5D/ws/axis2/modules/0_94/security.mar">mar</a> </td>
>      <td>&nbsp;</td>
>    </tr>
>  </table>
>
>
>


--
Davanum Srinivas : http://wso2.com/blogs/