Skip to content

SpringBoot Layered Jar not properly reusing cache #2393

@manusa

Description

@manusa

Description

The current approach to prepare the layers for Spring Boot Layered Jar nested generator is not working OK.

The dependency layers don't preserve the original creation date of the jar dependencies. This causes the layer digest to change from build to build. Hence, the layers can't be reused from their cached digest id.

Note

It seems that when the assembly is prepared, the timestamps for the files are lost.

Relates to

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions