Wildfly Swarm:使用 Maven 设置具有单独模块的项目

Wildly Swarm: Setup a project with separeted modules using maven

我正在尝试使用 Maven 设置一个 wildfly swarm 项目。我的结构应该是这样的:

我可以成功构建项目并部署项目,但我无法访问 rest-interface。

知道如何解决我的问题吗?

我使用以下带有 wildfly swarm 的项目示例解决了我的问题:

https://github.com/hwellmann/wildfly-swarm-example-multi-module