Merge branch 'develop' into stable

This commit is contained in:
2024-08-24 18:20:39 -04:00
@@ -200,9 +200,13 @@ public class AmpMojo extends AbstractMojo implements ArtifactResolutionCallback
}
private File getModuleFile() throws MojoExecutionException {
File jarFile = new File(this.moduleJarFile);
if (!jarFile.exists())
throw new MojoExecutionException("The module JAR file does not exist: " + this.moduleJarFile);
String moduleJarFile = this.injectClassifier(this.moduleJarFile);
File jarFile = new File(moduleJarFile);
if (!jarFile.exists()) {
jarFile = new File(this.moduleJarFile);
if (!jarFile.exists())
throw new MojoExecutionException("The module JAR file does not exist: " + this.moduleJarFile);
}
return jarFile;
}