https://github.com/apache/commons-lang
Revision 371c34bbea50db863bd53728e0c9c3c79f2034e6 authored by Stephen Colebourne on 10 April 2005, 23:25:25 UTC, committed by Stephen Colebourne on 10 April 2005, 23:25:25 UTC
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@160807 13f79535-47bb-0310-9956-ffa450edef68
1 parent d5f32c2
Raw File
Tip revision: 371c34bbea50db863bd53728e0c9c3c79f2034e6 authored by Stephen Colebourne on 10 April 2005, 23:25:25 UTC
Add StringUtils.defaultIfEmpty
Tip revision: 371c34b
maven.xml
<!--
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.
-->
<project default="java:jar"
  xmlns:j="jelly:core">

  <!-- ================================================================== -->
  <!-- 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                                     -->
  <!-- ================================================================== -->

  <!-- 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"/>
        <include name="default.properties"/>
      </fileset>
    </copy>

    <!-- Copy XDocs -->
    <copy todir="${maven.dist.src.assembly.dir}/xdocs">
      <fileset dir="xdocs" />
    </copy>
    
  </postGoal>
  
</project>
back to top