# increase to the next version, press enter key if use default value
mvn release:prepare
# clean plugin temporary file
mvn release:clean
versions-maven-plugin
config in pom.xml file
# append plugin(2.2 will throw nullpoint exception, so force use 2.5)
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.5</version>
</plugin>