How to exclude a file for maven release: prepare and release: run?

I use maven to release / tag my projects, and I use some rights files and I want mvn: get ready to exclude those that are in the release. I tried using the following command:

mvn release:prepare -DpreparationGoals="clean install" -DcheckModificationExcludeList=props.properties 

But it still gives me the following error:

 [INFO] Cannot prepare the release because you have local modifications : [props.properties:unknown] 

So, the question is how to make ACTUALLY make maven mvn: skip checking for local certian modifications? Thank you for your time.

+4
source share
1 answer

This feature was implemented in version 2.1.

+3
source

Source: https://habr.com/ru/post/1415354/


All Articles