Reputation: 4809
Can anyone please suggest how to continue the maven release:prepare from the point which failed?
I tried with the resume command, but it does not continue from the failed point.
Upvotes: 8
Views: 5375
Reputation: 332
Our release failed on the very last module. Here's what the logs said:
[INFO] [ERROR] After correcting the problems, you can resume the build with the command
[INFO] [ERROR] mvn <goals> -rf :module-that-failed
That might not work for release:prepare - but running 'mvn release:prepare' just started over from the beginning.
Upvotes: 1
Reputation: 15368
Quote from the docs:
If an error occurs, or the process is cancelled, then running this command again will pick up from where the last one left off.
So, just run mvn release:prepare
again.
Upvotes: 7
Reputation: 40378
Is it feasible for you to start over with preparing and performing the release?
Then you could try mvn release:rollback
.
If that doesnt work, delete the new files that were created, pom.xml.releasBackup
and release.properties
and try over.
Upvotes: 2