org_scala_tools_maven_dependency
Class CheckScalaVersionVisitor
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckScalaVersionVisitor
public CheckScalaVersionVisitor(String projectVerison,
org.apache.maven.plugin.logging.Log log)
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.