public final class MavenCoordinates extends Object
MavenCoordinate
instancesModifier and Type | Method and Description |
---|---|
static MavenCoordinate |
createCoordinate(String canonicalForm)
Creates a new
MavenCoordinate instance from the specified, required canonical form in format
|
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
:[:[:]]:(|'?')
canonicalForm
- IllegalArgumentException
- 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
- artifactId
- version
- packaging
- classifier
- IllegalArgumentException
- If groupId
or artifactId
is not specifiedCopyright © 2013 JBoss by Red Hat. All rights reserved.