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

ignoring AMPs from AMP packing

parent 05adb5f1
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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) {