Skip to content

Maven plugin documentation for the location to which jars are unpacked is out of date #6624

@wilkinsona

Description

@wilkinsona

It says:

Specify each library as a <dependency> with a <groupId> and a <artifactId> and they will be unpacked at runtime in $TMPDIR/spring-boot-libs.

The name of the unpack folder now includes the name of the archive from which they're being unpacked and a UUID:

String fileName = new File(this.jarFile.getName()).getName();
File unpackFolder = new File(parent,
        fileName + "-spring-boot-libs-" + UUID.randomUUID());

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions