Commit 41d8067d authored by Brian Long's avatar Brian Long
Browse files

fixed exclusion of all due to self ref

parent f2c4b0b3
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;