Remove warning messages generated by Maven 3.

Also, correct some minor formatting issues.