如何獲取pom.xml裏面的version值

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