apply https://github.com/jbosstools/jbosstools-download.jboss.org/pull/233