public final class MavenCoordinates extends Object
MavenCoordinate instances| Modifier and Type | Method and Description |
|---|---|
static MavenCoordinate |
createCoordinate(String canonicalForm)
Creates a new
MavenCoordinate instance from the specified, required canonical form in format
<groupId>:<artifactId>[:<packagingType>[:<classifier>]]:(<version>|'?') |
static MavenCoordinate |
createCoordinate(String groupId,
String artifactId,
String version,
PackagingType packaging,
String classifier)
Creates a new
MavenCoordinate instance from the specified arguments |
public static MavenCoordinate createCoordinate(String canonicalForm) throws IllegalArgumentException, CoordinateParseException
MavenCoordinate instance from the specified, required canonical form in format
<groupId>:<artifactId>[:<packagingType>[:<classifier>]]:(<version>|'?')canonicalForm - The canonical form.MavenCoordinate instance from the given canonical formIllegalArgumentException - If the canonical form is not suppliedCoordinateParseException - If the specified canonical form is not validpublic static MavenCoordinate createCoordinate(String groupId, String artifactId, String version, PackagingType packaging, String classifier) throws IllegalArgumentException
MavenCoordinate instance from the specified argumentsgroupId - A groupId of the new MavenCoordinate instanceartifactId - An artifactId of the new MavenCoordinate instanceversion - A version of the new MavenCoordinate instancepackaging - A packaging of the new MavenCoordinate instanceclassifier - A classifier of the new MavenCoordinate instanceMavenCoordinate instanceIllegalArgumentException - If groupId or artifactId is not specifiedCopyright © 2017 JBoss by Red Hat. All rights reserved.