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

Pergunta

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.

Foi útil?

Solução

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.

Outras dicas

You can also run

mvn release:clean

To remove any left-over files.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top