You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Moser, Christian" <cm...@metrohm.com> on 2011/01/25 14:07:07 UTC

maven-release-plugin - lock files during release

According to the documentation:
http://maven.apache.org/plugins/maven-release-plugin/examples/lock-files
.html

 

Am I right in assuming that I'd be able to lock files during a release
with:

 

release:prepare -DuseEditMode=true

 

so that nobody could commit files/directories during the release
preparation procedure ?

 

If I'm right, what happens if the prepare procedure fails? Will it
unlock or keep it locked? I'm using subversion 1.6.

 

Thx in advance