Using Maven for the source build, so need to get all the deliverables inside them

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@157368 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2005-03-14 02:39:54 +00:00
parent f0376e00e6
commit e8c2d55717
1 changed files with 21 additions and 0 deletions

View File

@ -32,5 +32,26 @@ limitations under the License.
<!-- ================================================================== -->
<!-- END: C O M M O N S - B U I L D -->
<!-- ================================================================== -->
<!-- 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"/>
</fileset>
</copy>
<!-- Copy XDocs -->
<copy todir="${maven.dist.src.assembly.dir}/xdocs">
<fileset dir="xdocs" />
</copy>
</postGoal>
</project>