Fixing maven snippet