You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by he...@apache.org on 2005/02/14 09:00:49 UTC
svn commit: r153734 -
webservices/axis/trunk/java/dev/scratch/prototype2/maven.xml
Author: hemapani
Date: Mon Feb 14 00:00:48 2005
New Revision: 153734
URL: http://svn.apache.org/viewcvs?view=rev&rev=153734
Log:
clean up the maven.xml file to handle samples
Modified:
webservices/axis/trunk/java/dev/scratch/prototype2/maven.xml
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/maven.xml?view=diff&r1=153733&r2=153734
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/maven.xml (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/maven.xml Mon Feb 14 00:00:48 2005
@@ -14,13 +14,15 @@
<ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="src/samples/deployment/service2"/>
<ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="src/samples/deployment/module1"/>
<ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="src/samples/deployment/module2"/>
- <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="src/samples/encoding/sample1"/>
</j:jelly>
+ <attainGoal name="samples"/>
<ant:copy file="${basedir}/src/test-resources/deployment/server.xml" tofile="${basedir}/target/test-resources/deployment/server.xml"/>
</postGoal>
<postGoal name="jar">
+ <jar destfile="target/axis2-test.jar" basedir="target/test-classes"/>
<ant:mkdir dir="${maven.repo.local}/axis/jars"/>
<ant:copy file="${basedir}/target/axis2-M1.jar" tofile="${maven.repo.local}/axis/jars/axis2-M1.jar"/>
+ <ant:copy file="${basedir}/target/axis2-test.jar" tofile="${maven.repo.local}/axis/jars/axis2-test.jar"/>
</postGoal>
<goal name="war" prereqs="jar">
<!-- jar the test classes -->
@@ -51,7 +53,6 @@
<goal name="war-withsamples" prereqs="jar">
<!-- jar the test classes -->
- <jar destfile="target/axis2-test.jar" basedir="target/test-classes"/>
<war destfile="target/axis2.war" webxml="src/conf/web.xml">
<fileset dir="src/html"/>
<webinf dir="target/test-resources/samples"/>