4 Add step to verify Nexus staging repository is closed correctly or
5 fail the staging job, if the repository is still open. This allows
6 projects to address the validation failures earlier during maven-stage
7 phase, instead of waiting to catch them while running the self-release job.