public class AetherUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SNAPSHOT |
static java.util.regex.Pattern |
SNAPSHOT_TIMESTAMP |
Constructor and Description |
---|
AetherUtils() |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.aether.artifact.Artifact |
convertPathToArtifact(java.lang.String path,
java.lang.String type)
Converts a path (relative to a repository root) to an
Artifact . |
static boolean |
isSnapshotVersion(java.lang.String version)
Hacked from aether
|
static void |
logDependencyNode(int depth,
org.eclipse.aether.graph.DependencyNode dependencyNode)
Logs a dependency node and its transitive dependencies as a tree.
|
public static final java.lang.String SNAPSHOT
public static final java.util.regex.Pattern SNAPSHOT_TIMESTAMP
public static void logDependencyNode(int depth, org.eclipse.aether.graph.DependencyNode dependencyNode)
public static org.eclipse.aether.artifact.Artifact convertPathToArtifact(java.lang.String path, java.lang.String type)
Artifact
.path
- the relative pathtype
- the layout type, currently ignored because only the 'default'
Maven 2 layout is currently supported:
/my/group/id/artifactId/
version/artifactId-version[-classifier].extensionpublic static boolean isSnapshotVersion(java.lang.String version)
Copyright © 2007–2020. All rights reserved.