Search code examples
javamavenwildflywildfly-swarm

Wildly Swarm: Setup a project with separeted modules using maven


I'm trying to setup a wildfly swarm project with maven. My structure should look like this:

  • project-build (wildfly swarm should generate here the -swarm.jar file including project-rest and project-ejb)
  • project-rest (own pom.xml)
  • project-ejb (own pom.xml)

I can build the project successfully and deploy the project but I have no access to the rest-interface.

Any idea how to resolve my issue?


Solution

  • I resolved my issue using the following project example with wildfly swarm:

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