The version variable should be "version." + groupId, so
  version.org.apache.httpcomponents
instead of
  org.apache.httpclient