fixed exclusion of all due to self ref

This commit is contained in:
2021-10-29 10:06:16 -04:00
parent f2c4b0b3a7
commit 41d8067d09
@@ -77,7 +77,9 @@ public class AmpDependencyFilter implements DependencyFilter {
private boolean isOrIsInAlfrescoModule(String moduleId, DependencyNode moduleNode, Iterator<DependencyNode> parents) {
Artifact artifact = moduleNode.getArtifact();
if (this.moduleIds.contains(moduleId)) {
if (this.projectModuleId.equals(moduleId)) {
return false;
} else if (this.moduleIds.contains(moduleId)) {
if (this.log.isDebugEnabled())
this.log.debug("Detected as Alfresco Module: " + artifact.getArtifactId());
return true;