public final class ArtifactDependency extends Object implements PluginProjectChange
| Modifier and Type | Class and Description |
|---|---|
static class |
ArtifactDependency.Scope |
| Modifier and Type | Method and Description |
|---|---|
static ArtifactDependency |
dependency(ArtifactId groupAndArtifactId,
String version,
ArtifactDependency.Scope scope)
Creates a dependency descriptor whose version string is provided explicitly.
|
static ArtifactDependency |
dependency(ArtifactId groupAndArtifactId,
VersionId versionId,
ArtifactDependency.Scope scope)
Creates a dependency descriptor whose version string is provided explicitly.
|
static ArtifactDependency |
dependency(String groupId,
String artifactId,
String version,
ArtifactDependency.Scope scope)
Creates a dependency descriptor whose version string is provided explicitly.
|
static ArtifactDependency |
dependency(String groupId,
String artifactId,
VersionId versionId,
ArtifactDependency.Scope scope)
Creates a dependency descriptor whose version string is provided explicitly.
|
ArtifactId |
getGroupAndArtifactId() |
ArtifactDependency.Scope |
getScope() |
VersionId |
getVersionId() |
String |
toString() |
public static ArtifactDependency dependency(String groupId, String artifactId, VersionId versionId, ArtifactDependency.Scope scope)
groupId - Maven group IDartifactId - Maven artifact IDversion - the version identifierscope - dependency scope (use DEfAULT to omit scope declaration)public static ArtifactDependency dependency(String groupId, String artifactId, String version, ArtifactDependency.Scope scope)
groupId - Maven group IDartifactId - Maven artifact IDversion - the version stringscope - dependency scope (use DEfAULT to omit scope declaration)public static ArtifactDependency dependency(ArtifactId groupAndArtifactId, VersionId versionId, ArtifactDependency.Scope scope)
groupAndArtifactId - Maven group and artifact IDversionId - the version identifierscope - dependency scope (use DEfAULT to omit scope declaration)public static ArtifactDependency dependency(ArtifactId groupAndArtifactId, String version, ArtifactDependency.Scope scope)
groupAndArtifactId - Maven group and artifact IDversion - the version stringscope - dependency scope (use DEfAULT to omit scope declaration)public ArtifactId getGroupAndArtifactId()
public VersionId getVersionId()
public ArtifactDependency.Scope getScope()
Copyright © 2015 Atlassian. All rights reserved.