I try to use option:
checkModificationExcludeList
but I don't know correct syntax:
mvn -U release:prepare checkModificationExcludeList myfile.txt
doesn't work.
Correct syntax for excluding files from local modifications check is,
mvn release:prepare -DcheckModificationExcludeList=one.txt,two.txt
Make sure that you pass the argument using -D
For files in sub directories, I believe you simply need to give the file name and the path can be skipped.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With