Loading src/main/java/com/inteligr8/alfresco/amp/AmpDependencyFilter.java +11 −1 Original line number Diff line number Diff line Loading @@ -45,10 +45,20 @@ public class AmpDependencyFilter implements DependencyFilter { String moduleId = artifact.getGroupId() + "." + artifact.getArtifactId(); if (this.moduleIds.contains(moduleId)) { if (this.log.isDebugEnabled()) this.log.debug("Not packaging library; detected as Alfresco Module: " + node.getArtifact().getArtifactId()); return false; } else if (parents != null) { for (DependencyNode parent : parents) { String parentModuleId = parent.getArtifact().getGroupId() + "." + parent.getArtifact().getArtifactId(); if (this.moduleIds.contains(parentModuleId)) { this.moduleIds.add(moduleId); if (this.log.isDebugEnabled()) this.log.debug("Not packaging library; detected as dependency to other Alfresco Module: " + node.getArtifact().getArtifactId()); return false; } } } File file = artifact.getFile(); try { Loading Loading
src/main/java/com/inteligr8/alfresco/amp/AmpDependencyFilter.java +11 −1 Original line number Diff line number Diff line Loading @@ -45,10 +45,20 @@ public class AmpDependencyFilter implements DependencyFilter { String moduleId = artifact.getGroupId() + "." + artifact.getArtifactId(); if (this.moduleIds.contains(moduleId)) { if (this.log.isDebugEnabled()) this.log.debug("Not packaging library; detected as Alfresco Module: " + node.getArtifact().getArtifactId()); return false; } else if (parents != null) { for (DependencyNode parent : parents) { String parentModuleId = parent.getArtifact().getGroupId() + "." + parent.getArtifact().getArtifactId(); if (this.moduleIds.contains(parentModuleId)) { this.moduleIds.add(moduleId); if (this.log.isDebugEnabled()) this.log.debug("Not packaging library; detected as dependency to other Alfresco Module: " + node.getArtifact().getArtifactId()); return false; } } } File file = artifact.getFile(); try { Loading