<?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>
Ant 修改项目pom.xml文件应用
时间: 2024-11-23 21:05:48