Skip to content
This repository was archived by the owner on May 8, 2020. It is now read-only.
This repository was archived by the owner on May 8, 2020. It is now read-only.

Add support for a layered Spring Boot jar #6

@mbhave

Description

@mbhave

Spring Boot 2.3.0.M1 introduced support for building layered jars. The structure for the jar is as follows:

META-INF/
  MANIFEST.MF
org/
  springframework/
    boot/
      loader/
        ...
BOOT-INF/
  layers/
    <name>/
      classes/
        ...
      lib/
        ...
    <name>/
      classes/
        ...
      lib/
        ...
  layers.idx

At the moment the layers are quite similar to what the buildpack does by default but we plan on adding support for layer customization. The buildpack can look at the layers.idx to figure out what the layers in the image are rather than using the defaults.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions