Uses of Class
org.apache.maven.api.model.Dependency
Package
Description
Maven Immutable POM (Project Object Model) classes, generated from
maven.mdo
model.Maven Resolver extensions for utilizing the Maven POM and Maven
repository metadata.
-
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 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. -
Uses of Dependency in org.apache.maven.api.services
Modifier and TypeMethodDescriptiondefault DependencyCoordinates
DependencyCoordinatesFactory.create
(Session session, Dependency dependency) -
Uses of Dependency in org.apache.maven.api.services.model
Modifier and TypeMethodDescriptiondefault ModelSource
ModelResolver.resolveModel
(Session session, List<RemoteRepository> repositories, Dependency dependency, AtomicReference<Dependency> modified) Tries to resolve the POM for the specified dependency coordinates possibly updatingdependency
.Modifier and TypeMethodDescriptiondefault ModelSource
ModelResolver.resolveModel
(Session session, List<RemoteRepository> repositories, Dependency dependency, AtomicReference<Dependency> modified) Tries to resolve the POM for the specified dependency coordinates possibly updatingdependency
. -
Uses of Dependency in org.apache.maven.internal.impl.model
Modifier and TypeMethodDescriptionprotected MavenMerger.KeyComputer<Dependency>
MavenModelMerger.getDependencyKey()
Modifier and TypeMethodDescriptionprotected void
DefaultDependencyManagementInjector.ManagementModelMerger.mergeDependency_Exclusions
(Dependency.Builder builder, Dependency target, Dependency source, boolean sourceDominant, Map<Object, Object> context) protected void
DefaultDependencyManagementInjector.ManagementModelMerger.mergeDependency_Optional
(Dependency.Builder builder, Dependency target, Dependency source, boolean sourceDominant, Map<Object, Object> context) protected void
DefaultModelValidator.validateDependencyVersion
(ModelProblemCollector problems, Dependency d, String prefix) -
Uses of Dependency in org.apache.maven.internal.impl.resolver
Modifier and TypeMethodDescriptionDefaultModelResolver.resolveModel
(Session session, List<RemoteRepository> repositories, Dependency dependency, AtomicReference<Dependency> modified) Modifier and TypeMethodDescriptionDefaultModelResolver.resolveModel
(Session session, List<RemoteRepository> repositories, Dependency dependency, AtomicReference<Dependency> modified) -
Uses of Dependency in org.apache.maven.model
Modifier and TypeMethodDescriptionstatic List<Dependency>
Dependency.dependencyToApiV4
(List<Dependency> list) Modifier and TypeMethodDescriptionstatic List<Dependency>
Dependency.dependencyToApiV3
(List<Dependency> list) ModifierConstructorDescriptionDependency
(Dependency delegate) Dependency
(Dependency delegate, BaseObject parent) -
Uses of Dependency in org.apache.maven.model.management
Modifier and TypeMethodDescriptionprotected void
DefaultDependencyManagementInjector.ManagementModelMerger.mergeDependency_Exclusions
(Dependency.Builder builder, Dependency target, Dependency source, boolean sourceDominant, Map<Object, Object> context) protected void
DefaultDependencyManagementInjector.ManagementModelMerger.mergeDependency_Optional
(Dependency.Builder builder, Dependency target, Dependency source, boolean sourceDominant, Map<Object, Object> context) -
Uses of Dependency in org.apache.maven.model.resolution
Modifier and TypeMethodDescriptiondefault ModelSource
ModelResolver.resolveModel
(Dependency dependency, AtomicReference<Dependency> modified) Deprecated.Modifier and TypeMethodDescriptiondefault ModelSource
ModelResolver.resolveModel
(Dependency dependency, AtomicReference<Dependency> modified) Deprecated. -
Uses of Dependency in org.apache.maven.model.v4
Modifier and TypeMethodDescriptionprotected Dependency
MavenMerger.mergeDependency
(Dependency target, Dependency source, boolean sourceDominant, Map<Object, Object> context) protected Dependency
MavenTransformer.transformDependency
(Dependency target) Modifier and TypeMethodDescriptionprotected MavenMerger.KeyComputer<Dependency>
MavenMerger.getDependencyKey()
Modifier and TypeMethodDescriptionprotected void
MavenMerger.mergeDependency
(Dependency.Builder builder, Dependency target, Dependency source, boolean sourceDominant, Map<Object, Object> context) protected Dependency
MavenMerger.mergeDependency
(Dependency target, Dependency source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeDependency_ArtifactId
(Dependency.Builder builder, Dependency target, Dependency source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeDependency_Classifier
(Dependency.Builder builder, Dependency target, Dependency source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeDependency_Exclusions
(Dependency.Builder builder, Dependency target, Dependency source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeDependency_GroupId
(Dependency.Builder builder, Dependency target, Dependency source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeDependency_Optional
(Dependency.Builder builder, Dependency target, Dependency source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeDependency_Scope
(Dependency.Builder builder, Dependency target, Dependency source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeDependency_SystemPath
(Dependency.Builder builder, Dependency target, Dependency source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeDependency_Type
(Dependency.Builder builder, Dependency target, Dependency source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeDependency_Version
(Dependency.Builder builder, Dependency target, Dependency source, boolean sourceDominant, Map<Object, Object> context) protected Dependency
MavenTransformer.transformDependency
(Dependency target) protected Dependency.Builder
MavenTransformer.transformDependency_ArtifactId
(Supplier<? extends Dependency.Builder> creator, Dependency.Builder builder, Dependency target) protected Dependency.Builder
MavenTransformer.transformDependency_Classifier
(Supplier<? extends Dependency.Builder> creator, Dependency.Builder builder, Dependency target) protected Dependency.Builder
MavenTransformer.transformDependency_Exclusions
(Supplier<? extends Dependency.Builder> creator, Dependency.Builder builder, Dependency target) protected Dependency.Builder
MavenTransformer.transformDependency_GroupId
(Supplier<? extends Dependency.Builder> creator, Dependency.Builder builder, Dependency target) protected Dependency.Builder
MavenTransformer.transformDependency_Optional
(Supplier<? extends Dependency.Builder> creator, Dependency.Builder builder, Dependency target) protected Dependency.Builder
MavenTransformer.transformDependency_Scope
(Supplier<? extends Dependency.Builder> creator, Dependency.Builder builder, Dependency target) protected Dependency.Builder
MavenTransformer.transformDependency_SystemPath
(Supplier<? extends Dependency.Builder> creator, Dependency.Builder builder, Dependency target) protected Dependency.Builder
MavenTransformer.transformDependency_Type
(Supplier<? extends Dependency.Builder> creator, Dependency.Builder builder, Dependency target) protected Dependency.Builder
MavenTransformer.transformDependency_Version
(Supplier<? extends Dependency.Builder> creator, Dependency.Builder builder, Dependency target) -
Uses of Dependency in org.apache.maven.model.validation
Modifier and TypeMethodDescriptionprotected void
DefaultModelValidator.validateDependencyVersion
(ModelProblemCollector problems, Dependency d, String prefix) Deprecated. -
Uses of Dependency in org.apache.maven.project
Modifier and TypeMethodDescriptionProjectModelResolver.resolveModel
(Dependency dependency, AtomicReference<Dependency> modified) Modifier and TypeMethodDescriptionProjectModelResolver.resolveModel
(Dependency dependency, AtomicReference<Dependency> modified)