org_scala_tools_maven_dependency
Class CheckScalaVersionVisitor

java.lang.Object
  extended by org_scala_tools_maven_dependency.CheckScalaVersionVisitor
All Implemented Interfaces:
org.apache.maven.shared.dependency.tree.traversal.DependencyNodeVisitor

public class CheckScalaVersionVisitor
extends Object
implements org.apache.maven.shared.dependency.tree.traversal.DependencyNodeVisitor

Ensures that all scala versions match the given version.

Author:
JSuereth

Constructor Summary
CheckScalaVersionVisitor(String projectVerison, org.apache.maven.plugin.logging.Log log)
           
 
Method Summary
 boolean endVisit(org.apache.maven.shared.dependency.tree.DependencyNode node)
           
 boolean isFailed()
           
 boolean isScalaDistroArtifact(org.apache.maven.artifact.Artifact artifact)
           
 void logScalaDependents()
           
 boolean visit(org.apache.maven.shared.dependency.tree.DependencyNode node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckScalaVersionVisitor

public CheckScalaVersionVisitor(String projectVerison,
                                org.apache.maven.plugin.logging.Log log)
Method Detail

endVisit

public boolean endVisit(org.apache.maven.shared.dependency.tree.DependencyNode node)
Specified by:
endVisit in interface org.apache.maven.shared.dependency.tree.traversal.DependencyNodeVisitor

isScalaDistroArtifact

public boolean isScalaDistroArtifact(org.apache.maven.artifact.Artifact artifact)

visit

public boolean visit(org.apache.maven.shared.dependency.tree.DependencyNode node)
Specified by:
visit in interface org.apache.maven.shared.dependency.tree.traversal.DependencyNodeVisitor

isFailed

public boolean isFailed()

logScalaDependents

public void logScalaDependents()


Copyright © 2010-2011 Scala Tools. All Rights Reserved.