Package org.jetbrains.idea.maven.model

Examples of org.jetbrains.idea.maven.model.MavenArtifactNode


      Set<MavenArtifact> processed = new HashSet<MavenArtifact>();

      // flatten the tree while taking care of endless recursions
      LinkedList<MavenArtifactNode> nodes = new LinkedList<MavenArtifactNode>(project.getDependencyTree());
      while (!nodes.isEmpty()) {
        MavenArtifactNode node = nodes.pop();
        MavenArtifact artifact = node.getArtifact();
        if (!processed.contains(artifact)) {
          processed.add(artifact);
          nodes.addAll(node.getDependencies());
        }
      }
      dependencies = processed;
    }
    else {
View Full Code Here

TOP

Related Classes of org.jetbrains.idea.maven.model.MavenArtifactNode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.