yes uvw mapping is the solution of the problem, but because it looks like a cylinder and not a box, try with the cylinder setting, or make your uvw map if you can, sorry i can't help more in maya because i never use it, but that thing might be the same as in 3dsmax