added plugins and configuration to pom.xml of rest client