public class AetherUtils extends Object
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)
Dependency
object.dependency
- string representation of dependency parameterpublic static org.eclipse.aether.graph.Exclusion createExclusion(String exclusionString)
Exclusion
object.exclusionString
- string representation of exclusion parameterpublic static String artifactToString(org.eclipse.aether.artifact.Artifact artifact)
Artifact
object to String for printing.artifact
- Artifact objectpublic static org.eclipse.aether.repository.RemoteRepository parseRemoteRepository(String repository)
RemoteRepository
object.repository
- string representation of remote repository parameterCopyright © 2023 The Apache Software Foundation. All rights reserved.