Revert "remove nexus.version/project.version hacks, which seems not needed anymore"

This reverts commit c79f7b72be136b9c45bfa0218b5aab4a709e596d.