Merge branch '2.3.x' into 2.4.x
Closes gh-24538
This commit is contained in:
@@ -230,7 +230,11 @@ public class BuildImageMojo extends AbstractPackagerMojo {
|
||||
name.append("-").append(this.classifier);
|
||||
}
|
||||
name.append(".jar");
|
||||
return new File(this.sourceDirectory, name.toString());
|
||||
File jarFile = new File(this.sourceDirectory, name.toString());
|
||||
if (!jarFile.exists()) {
|
||||
throw new IllegalStateException("Executable jar file required for building image");
|
||||
}
|
||||
return jarFile;
|
||||
}
|
||||
|
||||
private BuildRequest customize(BuildRequest request) {
|
||||
|
||||
Reference in New Issue
Block a user