handling snapshot & latest Nexus Tag + renaming target file