首页 > 代码库 > Ant 修改项目pom.xml文件应用

Ant 修改项目pom.xml文件应用

 

 

<?xml version="1.0" encoding="UTF-8"?><project name="project" default="update_pom" basedir=".">    <description>            description    </description>    <!-- =================================           target: update_pom                       ================================= -->        <target name="update_pom" depends="depends" description="description">        <replace dir="${basedir}/amarosa_6-3_IVR">            <include name="**/pom.xml"/>            <replacefilter>                <replacetoken>6.3.0-IVR-SM</replacetoken>                <replacevalue>6.3.0-IVR-SM-SNAPSHOT</replacevalue>            </replacefilter>        </replace>      <!--        <replace dir="${basedir}/amarosa_6-5_XMN_FT1">            <include name="**/pom.xml"/>            <replacefilter>                <replacetoken>6.4.0-SNAPSHOT</replacetoken>                <replacevalue>6.5.0-XMN-FT3-SNAPSHOT</replacevalue>            </replacefilter>        </replace> -->    </target>    <!-- - - - - - - - - - - - - - - - - -           target: depends                               - - - - - - - - - - - - - - - - - -->    <target name="depends">    </target></project>