Fixed a bug on rpm pom.xml files