remove comment snapshot repositories and format pom.xml file