Fix pom warning and upgrade apache.httpcomponents version