Fix warnings in maven script.