apply https://github.com/jbosstools/jbosstools-target-platforms/pull/22 from mistria