Class DefaultNode
java.lang.Object
org.apache.maven.impl.AbstractNode
org.apache.maven.impl.DefaultNode
- All Implemented Interfaces:
Node
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.eclipse.aether.graph.DependencyNode
protected final InternalSession
protected final boolean
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultNode
(InternalSession session, org.eclipse.aether.graph.DependencyNode node, boolean verbose) -
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns a detailed string representation of this dependency node.Methods inherited from class org.apache.maven.impl.AbstractNode
accept, filter, toString
-
Field Details
-
session
-
node
-
verbose
protected final boolean verbose
-
-
Constructor Details
-
DefaultNode
public DefaultNode(@Nonnull InternalSession session, @Nonnull org.eclipse.aether.graph.DependencyNode node, boolean verbose)
-
-
Method Details
-
getArtifact
-
getDependency
-
getChildren
-
getRemoteRepositories
-
getRepository
-
asString
Returns a detailed string representation of this dependency node.When verbose mode is disabled, returns the basic string representation in the format:
groupId:artifactId:version[:scope]
When verbose mode is enabled, additional details are included with the following format:
- For included dependencies:
groupId:artifactId:version[:scope] (details)
- For omitted dependencies:
(groupId:artifactId:version[:scope] - details)
- Version management information (if the version was managed from a different version)
- Scope management information (if the scope was managed from a different scope)
- Scope updates (if the scope was changed during resolution)
- Conflict resolution information (if the dependency was omitted due to conflicts or duplicates)
- Returns:
- a string representation of this dependency node with optional detailed information
- For included dependencies:
-