To keep versions of your WildFly API in sync with a Jakarta EE version you can use WildFly Bill of Materials. The WildFly BOMs project therefore allows you to easily use your stack of choice.
UPDATE: The new Home of WildFly BOM is here: https://github.com/wildfly/boms . Here is in detail how to use the single BOM files in your project.