Skip to content

JarFileArchive writes every app's unpacked libraries to the same location #4124

@ViktorRiabinin

Description

@ViktorRiabinin

There are two exacutable jars that are run with different owners. Both of them contain libraries that should be unpacked. parameter of spring-boot-maven-plugin is used.

Process that starts first creates temp folder and puts extracted jars into it. Process that starts second can't write its jars in the same folder since it doesn't have write permission.

Name of temp folder - spring-boot-libs - is hardcoded in file "JarFileArchive.java" and cannot be specified for different projects.

I can solve this problem running all jars with similar owner. Nevertheless, I'd like to ask - is it planned to make name of temp folder configurable?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions