
This commit changes the Maven build-image goal to honor the `layout` and `layoutFactory` parameters to ensure that the archive content sent to the builder is the same as is used by the `repackage` goal to build the archive file. Fixes gh-26216
This commit changes the Maven build-image goal to honor the `layout` and `layoutFactory` parameters to ensure that the archive content sent to the builder is the same as is used by the `repackage` goal to build the archive file. Fixes gh-26216