When running the bootBuildImage
task on a project configured to build a war file, a jar file is built and used in the generated image instead of the war file. The bootBuildImage
task should fail with war packaging instead. The documentation should also state more clearly that bootBuildImage
is not supported with war packaging.