The application works indeed. Let's look step by step what has just happened:
- Maven build has been run. A standard maven package plugin has created the war archive, which included classes described previously (and which can be as well deployed into the standard application server).
- The Swarm plugin built a runtime for our application. The runtime is based on WildFly-core and contains only the libraries needed by the service application.
- The plugin has built a runnable JAR, which combines the runtime and the application.
- Since we have specified the run goal, the plugin has started the service immediately after its creation.
Let's take a look at the target directory to note the build output:
As you can see in ...