mbecke 2003/10/01 16:06:38 Modified: httpclient maven.xml Log: Adds generated website to distribution. PR: 17569 Submitted by: Michael Becke Reviewed by: Oleg Kalnichevski Revision Changes Path 1.2 +16 -2 jakarta-commons/httpclient/maven.xml Index: maven.xml =================================================================== RCS file: /home/cvs/jakarta-commons/httpclient/maven.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- maven.xml 25 Jan 2003 20:14:06 -0000 1.1 +++ maven.xml 1 Oct 2003 23:06:38 -0000 1.2 @@ -3,20 +3,31 @@ <project> + <!-- + Builds the HttpClient distribution. Ensures that the site docs are included + in the dist. + --> + <goal name="httpclient:dist" prereqs="site:generate, dist"/> + <postGoal name="dist:prepare-bin-filesystem"> - <echo>Running postGoal </echo> + + <echo>[HttpClient] dist:prepare-bin-filesystem postGoal</echo> <copy todir="${maven.dist.bin.assembly.dir}/docs"> <fileset dir="./docs"> <include name="*.txt"/> <include name="*.html"/> </fileset> + <fileset dir="target/docs"> + <include name="**/*"/> + </fileset> </copy> </postGoal> <postGoal name="dist:prepare-src-filesystem"> - <echo>Running postGoal </echo> + + <echo>[HttpClient] dist:prepare-src-filesystem postGoal</echo> <copy todir="${maven.dist.src.assembly.dir}"> <fileset dir="."> @@ -28,6 +39,9 @@ <fileset dir="./docs"> <include name="*.txt"/> <include name="*.html"/> + </fileset> + <fileset dir="target/docs"> + <include name="**/*"/> </fileset> </copy>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]