ignoring AMPs from AMP packing

This commit is contained in:
2021-10-29 09:10:03 -04:00
parent 05adb5f119
commit f116e493a2

View File

@@ -76,6 +76,13 @@ public class AmpDependencyFilter implements DependencyFilter {
}
}
if ("amp".equalsIgnoreCase(artifact.getExtension())) {
if (this.log.isDebugEnabled())
this.log.debug("Not packaging library; detected as Alfresco Module: " + node.getArtifact().getArtifactId());
this.moduleIds.add(moduleId);
return false;
}
File file = artifact.getFile();
try {
if (file == null) {