improving pom.xml code, removing un-necessary code and taking out resources-plugin execution from spring-loaded profile to default build