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 DependencyDependency.newInstance()Creates a newDependencyinstance.static DependencyDependency.newInstance(boolean withDefaults) Creates a newDependencyinstance using default values or not.Dependency.withArtifactId(String artifactId) Creates a newDependencyinstance using the specified artifactId.Dependency.withClassifier(String classifier) Creates a newDependencyinstance using the specified classifier.Dependency.withExclusions(Collection<Exclusion> exclusions) Creates a newDependencyinstance using the specified exclusions.Dependency.withGroupId(String groupId) Creates a newDependencyinstance using the specified groupId.Dependency.withOptional(String optional) Creates a newDependencyinstance using the specified optional.Creates a newDependencyinstance using the specified scope.Dependency.withSystemPath(String systemPath) Creates a newDependencyinstance using the specified systemPath.Creates a newDependencyinstance using the specified type.Dependency.withVersion(String version) Creates a newDependencyinstance 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.BuilderDependency.newBuilder(Dependency from) Creates a newDependencybuilder instance using the specified object as a basis.static Dependency.BuilderDependency.newBuilder(Dependency from, boolean forceCopy) Creates a newDependencybuilder 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 newDependencyManagementinstance using the specified dependencies.Model.withDependencies(Collection<Dependency> dependencies) Creates a newModelinstance using the specified dependencies.ModelBase.withDependencies(Collection<Dependency> dependencies) Creates a newModelBaseinstance using the specified dependencies.Plugin.withDependencies(Collection<Dependency> dependencies) Creates a newPlugininstance using the specified dependencies.Profile.withDependencies(Collection<Dependency> dependencies) Creates a newProfileinstance 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 DependencyCoordinatesDependencyCoordinatesFactory.create(Session session, Dependency dependency)