org.scijava.maven.plugin
Class SnapshotFinder
java.lang.Object
org.scijava.maven.plugin.AbstractSciJavaDependencyChecker
org.scijava.maven.plugin.SnapshotFinder
- All Implemented Interfaces:
- org.apache.maven.shared.dependency.tree.traversal.DependencyNodeVisitor, SciJavaDependencyChecker
public class SnapshotFinder
- extends AbstractSciJavaDependencyChecker
SciJavaDependencyChecker implementation that fails when it encounters
a SNAPSHOT dependency or parent.
Options:
- verbose - prints full inheritance paths to all failures (default: false)
- failEarly - end execution after first failure (default: false)
- groupIds - an inclusive list of groupIds. Errors will only be reported
for projects whose groupIds are contained this list.
- Author:
- Mark Hiner
|
Constructor Summary |
SnapshotFinder(org.apache.maven.project.MavenProjectBuilder projectBuilder,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List remoteRepositories)
|
| Methods inherited from class org.scijava.maven.plugin.AbstractSciJavaDependencyChecker |
debug, endVisit, error, failed, info, isFailFast, isRoot, matches, setFailed, setFailFast, setGroupIds, setLog, stopVisit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SnapshotFinder
public SnapshotFinder(org.apache.maven.project.MavenProjectBuilder projectBuilder,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List remoteRepositories)
makeExceptionMessage
public String makeExceptionMessage()
- Returns:
- A formatted message reporting any encountered failures.
visit
public boolean visit(org.apache.maven.shared.dependency.tree.DependencyNode node)
Copyright © 2014 SciJava. All rights reserved.