根据pom标签修改

sed -i "s/<count>1</count>/<count>2</count>/g"  pom.xml

原文地址:https://www.cnblogs.com/yy123/p/9690956.html