2004-02-28 12:47:37 -05:00
|
|
|
<!--
|
|
|
|
Copyright 2002-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.
|
|
|
|
-->
|
2004-08-16 02:45:37 -04:00
|
|
|
<project xmlns:deploy="deploy" default="jar:jar" >
|
2004-01-28 19:14:09 -05:00
|
|
|
|
2004-08-17 11:38:46 -04:00
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- START : C O M M O N S - B U I L D -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- Required: Look and Feel for documentation within distributions -->
|
|
|
|
<!-- ================================================================== -->
|
2004-08-17 09:27:35 -04:00
|
|
|
<postGoal name="xdoc:copy-resources">
|
2004-08-17 11:38:46 -04:00
|
|
|
<copy todir="${basedir}/target/docs/style/" failonerror="false">
|
2004-08-17 09:27:35 -04:00
|
|
|
<fileset dir="${basedir}/../commons-build/xdocs/style">
|
|
|
|
<include name='**/*'/>
|
|
|
|
<exclude name='**/CVS/**'/>
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
|
|
|
</postGoal>
|
2004-08-17 11:38:46 -04:00
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- 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>
|
2004-08-17 09:27:35 -04:00
|
|
|
|
2004-08-16 02:45:37 -04:00
|
|
|
<preGoal name="dist:build-bin">
|
|
|
|
<copy todir="${maven.dist.bin.assembly.dir}">
|
|
|
|
<fileset file='${basedir}/NOTICE.txt'/>
|
|
|
|
</copy>
|
|
|
|
</preGoal>
|
|
|
|
|
|
|
|
<preGoal name="dist:build-src">
|
|
|
|
<copy todir="${maven.dist.src.assembly.dir}">
|
|
|
|
<fileset file='${basedir}/NOTICE.txt'/>
|
|
|
|
</copy>
|
|
|
|
<delete dir="${maven.dist.src.assembly.dir}/src/experimental" />
|
|
|
|
</preGoal>
|
2004-01-28 19:14:09 -05:00
|
|
|
|
2004-08-15 16:22:45 -04:00
|
|
|
<!-- Uncomment when ant plugin relative path bug is fixed (still present in 1.8)
|
2004-01-28 19:14:09 -05:00
|
|
|
<preGoal name="dist">
|
|
|
|
<attainGoal name="ant" />
|
|
|
|
</preGoal>
|
2004-08-15 16:22:45 -04:00
|
|
|
-->
|
2004-01-28 19:14:09 -05:00
|
|
|
|
2004-08-15 14:09:48 -04:00
|
|
|
<!-- Uncomment to include compile time dependent jars (discovery, logging)
|
2004-01-28 19:14:09 -05:00
|
|
|
<preGoal name="dist:build-bin">
|
|
|
|
<deploy:copy-deps todir="${maven.build.dir}/${maven.final.name}/bin/${maven.final.name}" />
|
|
|
|
</preGoal>
|
2004-08-15 14:09:48 -04:00
|
|
|
-->
|
2005-06-04 01:20:37 -04:00
|
|
|
|
|
|
|
<!-- Limit maven resources included in site generation -->
|
|
|
|
<postGoal name="xdoc:copy-resources">
|
|
|
|
<delete includeEmptyDirs="true">
|
|
|
|
<fileset dir="${maven.docs.dest}"
|
|
|
|
includes="${maven.xdoc.copy.excludes},${maven.xdoc.copy.excludes.classic}"/>
|
|
|
|
</delete>
|
|
|
|
</postGoal>
|
2004-01-28 19:14:09 -05:00
|
|
|
|
|
|
|
</project>
|