public interface MavenArtifactInfo
Modifier and Type | Method and Description |
---|---|
MavenCoordinate |
getCoordinate()
Returns the defined coordinate (i.e.
|
MavenArtifactInfo[] |
getDependencies()
Returns artifacts dependencies.
|
String |
getExtension()
Returns the file extension of this artifact, ie.
|
String |
getResolvedVersion()
Returns the resolved "version" portion of this artifact's coordinates; SNAPSHOTs may declare a version field (as
represented by
getResolvedVersion() ), which must resolve to a versioned snapshot version
number. |
ScopeType |
getScope()
Returns the scope information of this artifact
|
boolean |
isOptional()
Returns true if artifact is optional.
|
boolean |
isSnapshotVersion()
Returns whether or not this artifact is using a SNAPSHOT version.
|
MavenCoordinate getCoordinate()
String getResolvedVersion()
getResolvedVersion()
), which must resolve to a versioned snapshot version
number. That resolved version number is reflected by this field. In the case of true versions (ie.
non-SNAPSHOTs), this call will be equal to MavenCoordinate.getVersion()
.boolean isSnapshotVersion()
String getExtension()
MavenArtifactInfo[] getDependencies()
ScopeType getScope()
boolean isOptional()
Copyright © 2022 JBoss by Red Hat. All rights reserved.