fixed exclusion of all due to self ref
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user