Maven release:prepare fails with “scm connection or developerConnection must be specified”

If you only would like to change the version, the Versions Maven Plugin may help.

The versions:set may be the good one for using.

Please take a big note, since you’re not using the SCM, please make a full backup before using the following command.

mvn versions:set -DnewVersion=1.0 
mvn clean install
mvn versions:set -DnewVersion=1.1-SNAPSHOT 
mvn clean install

Anyhow I highly recommend and encourage you to use the SCM and perform the release by following the Maven good practice instead.

I hope this may help.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)