All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jvnet.maven.plugin.antrun.GraphVisitor Maven / Gradle / Ivy

Go to download

This extended antrun maven plugin enables users not only to run ant scripts embedded in the POM, but also to reference maven dependencies using Ant task classes. This enables the user to delegate more complex tasks to Ant such as constructing file-based installation distros.

The newest version!
package org.jvnet.maven.plugin.antrun;

/**
 * Traverses a {@link DependencyGraph} in a depth-first order.
 * All the reachable nodes and edges are visited once and only once.
 *
 * @author Kohsuke Kawaguchi
 */
public interface GraphVisitor {
    /**
     * Visits an edge.
     *
     * @return
     *      false to cut the traversal here and don't visit
     *      its destination node.
     */
    boolean visit(DependencyGraph.Edge edge);

    /**
     * Visits a node.
     *
     * @return
     *      false to cut the traversal here and don't visit
     *      any of forward edges from this node.
     */
    boolean visit(DependencyGraph.Node node);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy