in src/main/java/org/apache/sling/maven/bundlesupport/BundleInstallFileMojo.java [89:106]
protected File getBundleFileName() throws MojoExecutionException {
File fileName = resolveBundleFileFromArtifact();
if (fileName == null) {
fileName = bundleFileName;
} else {
if (mountByFS) {
getLog().warn(
"The parameter 'mountByFS' is only supported with files outside the Maven repository and therefore ignored in this context!");
mountByFS = false;
}
}
if (fileName == null) {
throw new MojoExecutionException(
"Must provide either sling.file, sling.artifact or sling.groupId/sling.artifactId/sling.version parameters");
}
return fileName;
}