fix test/snapshot and maven repo call in buildfile