Generates a WAR file from the
.car file of the given
module-with-version, suitable for deploying to a standard Servlet container.
The version number is required since, in general, there can be multiple versions available in the configured repositories.
The given module's
.car file and those of its transitive dependencies will be copied to the
WEB-INF/lib of the generated WAR file. Dependencies which are provided by the application container (and thus not required to be in
WEB-INF/lib) can be excluded using