Modifier and Type | Method and Description |
---|---|
Dependency |
Dependency.Builder.build() |
static Dependency |
Dependency.newInstance()
Creates a new
Dependency instance. |
static Dependency |
Dependency.newInstance(boolean withDefaults)
Creates a new
Dependency instance using default values or not. |
Dependency |
Dependency.withArtifactId(String artifactId)
Creates a new
Dependency instance using the specified artifactId. |
Dependency |
Dependency.withClassifier(String classifier)
Creates a new
Dependency instance using the specified classifier. |
Dependency |
Dependency.withExclusions(Collection<Exclusion> exclusions)
Creates a new
Dependency instance using the specified exclusions. |
Dependency |
Dependency.withGroupId(String groupId)
Creates a new
Dependency instance using the specified groupId. |
Dependency |
Dependency.withOptional(String optional)
Creates a new
Dependency instance using the specified optional. |
Dependency |
Dependency.withScope(String scope)
Creates a new
Dependency instance using the specified scope. |
Dependency |
Dependency.withSystemPath(String systemPath)
Creates a new
Dependency instance using the specified systemPath. |
Dependency |
Dependency.withType(String type)
Creates a new
Dependency instance using the specified type. |
Dependency |
Dependency.withVersion(String version)
Creates a new
Dependency instance using the specified version. |
Modifier and Type | Method and Description |
---|---|
List<Dependency> |
DependencyManagement.getDependencies()
The dependencies specified here are not used until they are referenced in a
POM within the group.
|
List<Dependency> |
Plugin.getDependencies()
Additional dependencies that this project needs to introduce to the plugin's
classloader.
|
List<Dependency> |
ModelBase.getDependencies()
This element describes all of the dependencies associated with a
project.
|
Modifier and Type | Method and Description |
---|---|
static Dependency.Builder |
Dependency.newBuilder(Dependency from)
Creates a new
Dependency builder instance using the specified object as a basis. |
static Dependency.Builder |
Dependency.newBuilder(Dependency from,
boolean forceCopy)
Creates a new
Dependency builder instance using the specified object as a basis. |
Modifier and Type | Method and Description |
---|---|
Model.Builder |
Model.Builder.dependencies(Collection<Dependency> dependencies) |
Profile.Builder |
Profile.Builder.dependencies(Collection<Dependency> dependencies) |
DependencyManagement.Builder |
DependencyManagement.Builder.dependencies(Collection<Dependency> dependencies) |
Plugin.Builder |
Plugin.Builder.dependencies(Collection<Dependency> dependencies) |
ModelBase.Builder |
ModelBase.Builder.dependencies(Collection<Dependency> dependencies) |
Model |
Model.withDependencies(Collection<Dependency> dependencies)
Creates a new
Model instance using the specified dependencies. |
Profile |
Profile.withDependencies(Collection<Dependency> dependencies)
Creates a new
Profile instance using the specified dependencies. |
DependencyManagement |
DependencyManagement.withDependencies(Collection<Dependency> dependencies)
Creates a new
DependencyManagement instance using the specified dependencies. |
Plugin |
Plugin.withDependencies(Collection<Dependency> dependencies)
Creates a new
Plugin instance using the specified dependencies. |
ModelBase |
ModelBase.withDependencies(Collection<Dependency> dependencies)
Creates a new
ModelBase instance using the specified dependencies. |
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.