Once again, I found myself in a situation when I attempt to create a WAR deployment (Maven <packaging>war</packaging>) but don't have neither undertow nor jaxrs fraction. When Swarm creates the default deployment, it doesn't find the DefaultDeploymentFactory (because that's brought in by those fractions), so it instead creates and deploys an empty JAR. I already described this behavior in
I strongly believe that this is wrong. The deployment process should end with an error; at least for the war case (which is the most common), it should also provide a hint that either undertow or jaxrs should be added.