use buildsupport/scripts/nexusresourcedirs.groovy instead