Uses of Class
org.apache.maven.api.model.Dependency
Packages that use Dependency
Package
Description
Maven Immutable POM (Project Object Model) classes, generated from
maven.mdo
model.Defines core service interfaces that provide essential Maven functionality such as
artifact resolution, dependency management, and build execution.
-
Uses of Dependency in org.apache.maven.api.model
Methods in org.apache.maven.api.model that return DependencyModifier 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.Methods in org.apache.maven.api.model that return types with arguments of type DependencyModifier 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 the dependencies associated with a project.Plugin.getDependencies()
Additional dependencies that this project needs to introduce to the plugin's classloader.Methods in org.apache.maven.api.model with parameters of type DependencyModifier 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.Method parameters in org.apache.maven.api.model with type arguments of type DependencyModifier 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.Constructors in org.apache.maven.api.model with parameters of type Dependency -
Uses of Dependency in org.apache.maven.api.services
Methods in org.apache.maven.api.services with parameters of type DependencyModifier and TypeMethodDescriptiondefault DependencyCoordinates
DependencyCoordinatesFactory.create
(Session session, Dependency dependency)