Check if pom.xml exists before trying to use it, if not use oasis.properties