exec-maven-plugin icon indicating copy to clipboard operation
exec-maven-plugin copied to clipboard

exec:java should default to Main-Class manifest attribute if <mainClass> not specified

Open sewe opened this issue 8 years ago • 1 comments

Granted, this is just a convenience feature, but having to manually specify a <mainClass> if the <executableDependency> already has a Main-Class manifest attribute seems redundant.

And yes, I realize that there may be multiple manifest candidates if no <executableDependency> is specified, but even limiting this to just the case where a <executableDependency> would be a usability win, IMHO.

sewe avatar Nov 30 '17 13:11 sewe

+1

mkarg avatar Dec 05 '17 16:12 mkarg