2004-02-18 18:13:37 -05:00
|
|
|
<!--
|
2005-04-14 02:16:36 -04:00
|
|
|
Copyright 2002-2005 The Apache Software Foundation.
|
2004-02-18 18:13:37 -05:00
|
|
|
|
|
|
|
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.
|
|
|
|
-->
|
2002-07-26 15:07:07 -04:00
|
|
|
<project default="java:jar"
|
|
|
|
xmlns:j="jelly:core">
|
|
|
|
|
2004-08-17 11:38:47 -04:00
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- START : C O M M O N S - B U I L D -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- Required: Look and Feel for documentation within distributions -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<postGoal name="xdoc:copy-resources">
|
|
|
|
<copy todir="${basedir}/target/docs/style/" failonerror="false">
|
|
|
|
<fileset dir="${basedir}/../commons-build/xdocs/style">
|
|
|
|
<include name='**/*'/>
|
|
|
|
<exclude name='**/CVS/**'/>
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
|
|
|
</postGoal>
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- END: C O M M O N S - B U I L D -->
|
|
|
|
<!-- ================================================================== -->
|
2005-03-13 21:39:54 -05:00
|
|
|
|
|
|
|
<!-- need various bits in the src build. Binary build is handled by Ant -->
|
|
|
|
<postGoal name="dist:prepare-src-filesystem">
|
|
|
|
<j:set var="maven.dist.src.assembly.dir" value="${pom.getPluginContext('maven-dist-plugin').getVariable('maven.dist.src.assembly.dir')}" />
|
|
|
|
|
|
|
|
<!-- Copy Files -->
|
|
|
|
<copy todir="${maven.dist.src.assembly.dir}">
|
|
|
|
<fileset dir=".">
|
|
|
|
<include name="RELEASE-NOTES.html"/>
|
|
|
|
<include name="NOTICE.txt"/>
|
|
|
|
<include name="PROPOSAL.html"/>
|
|
|
|
<include name="STATUS.html"/>
|
2005-03-16 00:05:08 -05:00
|
|
|
<include name="default.properties"/>
|
2005-03-13 21:39:54 -05:00
|
|
|
</fileset>
|
|
|
|
</copy>
|
|
|
|
|
|
|
|
<!-- Copy XDocs -->
|
|
|
|
<copy todir="${maven.dist.src.assembly.dir}/xdocs">
|
|
|
|
<fileset dir="xdocs" />
|
|
|
|
</copy>
|
2005-05-04 21:54:13 -04:00
|
|
|
|
|
|
|
<!-- remove text package for the 2.1 release -->
|
|
|
|
<delete dir="${maven.dist.src.assembly.dir}/src/java/org/apache/commons/lang/text"/>
|
|
|
|
<delete dir="${maven.dist.src.assembly.dir}/src/test/org/apache/commons/lang/text"/>
|
2005-03-13 21:39:54 -05:00
|
|
|
|
|
|
|
</postGoal>
|
2004-08-17 11:38:47 -04:00
|
|
|
|
2002-07-26 15:07:07 -04:00
|
|
|
</project>
|