Adding postGoal to copy css stylesheets from commons-build when site is generated. Please maintain this modification for consistent look and feel across commons subprojects.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141429 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark R. Diggory 2004-08-17 15:38:46 +00:00
parent 90414be48d
commit 1788926ce1
1 changed files with 14 additions and 7 deletions

View File

@ -15,20 +15,27 @@
--> -->
<project xmlns:deploy="deploy" default="jar:jar" > <project xmlns:deploy="deploy" default="jar:jar" >
<goal name="cut-math-release"> <!-- ================================================================== -->
<attainGoal name="convert-snapshots" /> <!-- START : C O M M O N S - B U I L D -->
<attainGoal name="dist" /> <!-- ================================================================== -->
</goal> <!-- Required: Look and Feel for documentation within distributions -->
<!-- ================================================================== -->
<!-- [Commons-Build] Required: Look and Feel for distributions -->
<postGoal name="xdoc:copy-resources"> <postGoal name="xdoc:copy-resources">
<copy todir="${basedir}/target/docs/style/"> <copy todir="${basedir}/target/docs/style/" failonerror="false">
<fileset dir="${basedir}/../commons-build/xdocs/style"> <fileset dir="${basedir}/../commons-build/xdocs/style">
<include name='**/*'/> <include name='**/*'/>
<exclude name='**/CVS/**'/> <exclude name='**/CVS/**'/>
</fileset> </fileset>
</copy> </copy>
</postGoal> </postGoal>
<!-- ================================================================== -->
<!-- END: C O M M O N S - B U I L D -->
<!-- ================================================================== -->
<goal name="cut-math-release">
<attainGoal name="convert-snapshots" />
<attainGoal name="dist" />
</goal>
<preGoal name="dist:build-bin"> <preGoal name="dist:build-bin">
<copy todir="${maven.dist.bin.assembly.dir}"> <copy todir="${maven.dist.bin.assembly.dir}">