public class AetherUtils extends Object
Utility class of Aether.
Modifier and Type | Method and Description |
---|---|
static String |
artifactToString(org.eclipse.aether.artifact.Artifact artifact)
Convert
Artifact object to String for printing. |
static org.eclipse.aether.graph.Exclusion |
createExclusion(String exclusionString)
Parses exclusion parameter and build
Exclusion object. |
static org.eclipse.aether.graph.Dependency |
parseDependency(String dependency)
Parses dependency parameter and build
Dependency object. |
static org.eclipse.aether.repository.RemoteRepository |
parseRemoteRepository(String repository)
Parses remote repository parameter and build
RemoteRepository object. |
public static org.eclipse.aether.graph.Dependency parseDependency(String dependency)
Parses dependency parameter and build Dependency
object.
dependency
- string representation of dependency parameterpublic static org.eclipse.aether.graph.Exclusion createExclusion(String exclusionString)
Parses exclusion parameter and build Exclusion
object.
exclusionString
- string representation of exclusion parameterpublic static String artifactToString(org.eclipse.aether.artifact.Artifact artifact)
Convert Artifact
object to String for printing.
artifact
- Artifact objectpublic static org.eclipse.aether.repository.RemoteRepository parseRemoteRepository(String repository)
Parses remote repository parameter and build RemoteRepository
object.
repository
- string representation of remote repository parameterCopyright © 2022 The Apache Software Foundation. All rights reserved.