Commit b7458863 authored by Brian Long's avatar Brian Long
Browse files

Merge branch 'develop' into stable

parents 6adf8893 e2e0069d
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -200,9 +200,13 @@ public class AmpMojo extends AbstractMojo implements ArtifactResolutionCallback
    }
    
    private File getModuleFile() throws MojoExecutionException {
    	File jarFile = new File(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;
    }