executable-jar icon indicating copy to clipboard operation
executable-jar copied to clipboard

Provide Way to Handle Multiple Jars with Main-Class Entries

Open jamesward opened this issue 1 year ago • 2 comments

Sometimes projects have dependencies containing Main-Class entries in their manifests. Since this buildpack picks the first Jar found with such an entry, this can lead to not picking the right Main-Class. Perhaps an env var could be used to specify a glob for the desired Jar containing the right Main-Class.

jamesward avatar Apr 27 '23 20:04 jamesward

Seems totally reasonable, tagged as an enhancement.

dmikusa avatar Jul 07 '23 18:07 dmikusa

This would be really nice to have.

matejvasek avatar Sep 18 '23 17:09 matejvasek