Skip to content

Jartools extract command doesn't extract all files from META-INF #40456

@patbaumgartner

Description

@patbaumgartner

When running the extraction for AppCDS

java -Djarmode=tools -jar spring-petclinic-app-cds-21-3.3.0-SNAPSHOT.jar extract 

I discovered that the META-INF directory was missing the `build-info.properties' file, compared to the fat JAR where it was present.
Running the app resulted in

Caused by: java.io.FileNotFoundException: class path resource [META-INF/build-info.properties] cannot be opened because it does not exist 

Removing the build-info goal surpresses the issue.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions