如何获取pom.xml里面的version值

cat pom.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '/project/version/text()' -xml
相关文章
相关标签/搜索