ignoring AMPs from AMP packing
This commit is contained in:
@@ -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();
|
File file = artifact.getFile();
|
||||||
try {
|
try {
|
||||||
if (file == null) {
|
if (file == null) {
|
||||||
|
Reference in New Issue
Block a user