XD-1509 Disable publishing hadoop artifacts

- Disable publishing hadoop distro artifacts
  - Check for the existence of `artifactory-publish` plugin
before disabling `artifactoryPublish`