When performing a release in maven, what should I do with the pom.xml.releaseBackup and release.properties files?

StackOverflow https://stackoverflow.com/questions/19419955

Question

When I execute mvn release:prepare, I end up with two new files, release.properties and pom.xml.releaseBackup, and when I execute mvn release:perform, those two files do not get removed.

I've read up about the maven release process, and I understand that these files are not removed, and I understand why.

What I can't find out is whether or not those files should be checked in, deleted, or ignored.

Was it helpful?

Solution

Oops, they're not left behind. I had a problem in my POM, and the release failed. After fixing the POM and redoing the release, the files disappeared.

OTHER TIPS

You can also run

mvn release:clean

To remove any left-over files.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top