Removing the unnecessary content from pom file