Don't hardwire the wildfly-legacy version
Merge pull request #6525 from kabir/dont-hardwire-wf-legacy-version

Don't hardwire the wildfly-legacy version