Uses of Class
org.apache.maven.api.model.Dependency
-
Uses of Dependency in org.apache.maven.api.model
Modifier and TypeMethodDescriptionDependency.Builder.build()
static Dependency
Dependency.newInstance()
Creates a newDependency
instance.static Dependency
Dependency.newInstance
(boolean withDefaults) Creates a newDependency
instance using default values or not.Dependency.withArtifactId
(String artifactId) Creates a newDependency
instance using the specified artifactId.Dependency.withClassifier
(String classifier) Creates a newDependency
instance using the specified classifier.Dependency.withExclusions
(Collection<Exclusion> exclusions) Creates a newDependency
instance using the specified exclusions.Dependency.withGroupId
(String groupId) Creates a newDependency
instance using the specified groupId.Dependency.withOptional
(String optional) Creates a newDependency
instance using the specified optional.Creates a newDependency
instance using the specified scope.Dependency.withSystemPath
(String systemPath) Creates a newDependency
instance using the specified systemPath.Creates a newDependency
instance using the specified type.Dependency.withVersion
(String version) Creates a newDependency
instance using the specified version.Modifier and TypeMethodDescriptionDependencyManagement.getDependencies()
The dependencies specified here are not used until they are referenced in a POM within the group.ModelBase.getDependencies()
This element describes all of the dependencies associated with a project.Plugin.getDependencies()
Additional dependencies that this project needs to introduce to the plugin's classloader.Modifier and TypeMethodDescriptionstatic Dependency.Builder
Dependency.newBuilder
(Dependency from) Creates a newDependency
builder instance using the specified object as a basis.static Dependency.Builder
Dependency.newBuilder
(Dependency from, boolean forceCopy) Creates a newDependency
builder instance using the specified object as a basis.Modifier and TypeMethodDescriptionDependencyManagement.Builder.dependencies
(Collection<Dependency> dependencies) Model.Builder.dependencies
(Collection<Dependency> dependencies) ModelBase.Builder.dependencies
(Collection<Dependency> dependencies) Plugin.Builder.dependencies
(Collection<Dependency> dependencies) Profile.Builder.dependencies
(Collection<Dependency> dependencies) DependencyManagement.withDependencies
(Collection<Dependency> dependencies) Creates a newDependencyManagement
instance using the specified dependencies.Model.withDependencies
(Collection<Dependency> dependencies) Creates a newModel
instance using the specified dependencies.ModelBase.withDependencies
(Collection<Dependency> dependencies) Creates a newModelBase
instance using the specified dependencies.Plugin.withDependencies
(Collection<Dependency> dependencies) Creates a newPlugin
instance using the specified dependencies.Profile.withDependencies
(Collection<Dependency> dependencies) Creates a newProfile
instance using the specified dependencies.