Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试使用选项:
checkModificationExcludeList
但我不知道正确的语法:
mvn -U release:prepare checkModificationExcludeList myfile.txt
不起作用。
从本地修改检查中排除文件的正确语法是,
mvn release:prepare -DcheckModificationExcludeList=one.txt,two.txt
确保使用 -D 传递参数
对于子目录中的文件,我相信你只需要给出文件名,路径就可以跳过。