Package | Description |
---|---|
org.apache.maven | |
org.apache.maven.bridge | |
org.apache.maven.lifecycle.mapping | |
org.apache.maven.model |
Maven POM (Project Object Model) classes, generated from
maven.mdo model. |
org.apache.maven.model.management | |
org.apache.maven.model.merge |
POM merger.
|
org.apache.maven.model.resolution | |
org.apache.maven.model.validation | |
org.apache.maven.project | |
org.apache.maven.project.artifact | |
org.apache.maven.repository | |
org.apache.maven.repository.legacy |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.aether.graph.Dependency |
RepositoryUtils.toDependency(Dependency dependency,
org.eclipse.aether.artifact.ArtifactTypeRegistry stereotypes) |
Modifier and Type | Method and Description |
---|---|
Artifact |
MavenRepositorySystem.createDependencyArtifact(Dependency d) |
Modifier and Type | Method and Description |
---|---|
List<Dependency> |
LifecycleMojo.getDependencies() |
Modifier and Type | Method and Description |
---|---|
void |
LifecycleMojo.setDependencies(List<Dependency> dependencies) |
Modifier and Type | Method and Description |
---|---|
Dependency |
Dependency.clone()
Method clone.
|
Modifier and Type | Method and Description |
---|---|
List<Dependency> |
Plugin.getDependencies()
Method getDependencies.
|
List<Dependency> |
ModelBase.getDependencies()
Method getDependencies.
|
List<Dependency> |
DependencyManagement.getDependencies()
Method getDependencies.
|
Modifier and Type | Method and Description |
---|---|
void |
Plugin.addDependency(Dependency dependency)
Method addDependency.
|
void |
ModelBase.addDependency(Dependency dependency)
Method addDependency.
|
void |
DependencyManagement.addDependency(Dependency dependency)
Method addDependency.
|
void |
Plugin.removeDependency(Dependency dependency)
Method removeDependency.
|
void |
ModelBase.removeDependency(Dependency dependency)
Method removeDependency.
|
void |
DependencyManagement.removeDependency(Dependency dependency)
Method removeDependency.
|
Modifier and Type | Method and Description |
---|---|
void |
Plugin.setDependencies(List<Dependency> dependencies)
Set additional dependencies that this project needs to
introduce to the plugin's
classloader.
|
void |
ModelBase.setDependencies(List<Dependency> dependencies)
Set this element describes all of the dependencies
associated with a
project.
|
void |
DependencyManagement.setDependencies(List<Dependency> dependencies)
Set the dependencies specified here are not used until they
are referenced in a
POM within the group.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultDependencyManagementInjector.ManagementModelMerger.mergeDependency_Exclusions(Dependency target,
Dependency source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
DefaultDependencyManagementInjector.ManagementModelMerger.mergeDependency_Optional(Dependency target,
Dependency source,
boolean sourceDominant,
Map<Object,Object> context) |
Modifier and Type | Method and Description |
---|---|
protected Object |
MavenModelMerger.getDependencyKey(Dependency dependency) |
protected Object |
ModelMerger.getDependencyKey(Dependency dependency) |
protected void |
ModelMerger.mergeDependency_ArtifactId(Dependency target,
Dependency source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
ModelMerger.mergeDependency_Classifier(Dependency target,
Dependency source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
ModelMerger.mergeDependency_Exclusions(Dependency target,
Dependency source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
ModelMerger.mergeDependency_GroupId(Dependency target,
Dependency source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
ModelMerger.mergeDependency_Optional(Dependency target,
Dependency source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
ModelMerger.mergeDependency_Scope(Dependency target,
Dependency source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
ModelMerger.mergeDependency_SystemPath(Dependency target,
Dependency source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
ModelMerger.mergeDependency_Type(Dependency target,
Dependency source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
ModelMerger.mergeDependency_Version(Dependency target,
Dependency source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
ModelMerger.mergeDependency(Dependency target,
Dependency source,
boolean sourceDominant,
Map<Object,Object> context) |
Modifier and Type | Method and Description |
---|---|
ModelSource |
ModelResolver.resolveModel(Dependency dependency)
Tries to resolve the POM for the specified dependency coordinates possibly updating
dependency . |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultModelValidator.validateDependencyVersion(ModelProblemCollector problems,
Dependency d,
String prefix) |
Modifier and Type | Method and Description |
---|---|
List<Dependency> |
MavenProject.getCompileDependencies()
Deprecated.
|
List<Dependency> |
MavenProject.getDependencies() |
List<Dependency> |
MavenProject.getRuntimeDependencies()
Deprecated.
|
List<Dependency> |
MavenProject.getSystemDependencies()
Deprecated.
|
List<Dependency> |
MavenProject.getTestDependencies()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ModelSource |
ProjectModelResolver.resolveModel(Dependency dependency) |
Modifier and Type | Method and Description |
---|---|
void |
MavenProject.setDependencies(List<Dependency> dependencies) |
Modifier and Type | Method and Description |
---|---|
Dependency |
InvalidDependencyVersionException.getDependency() |
Modifier and Type | Method and Description |
---|---|
List<Dependency> |
ProjectArtifact.getDependencies() |
List<Dependency> |
PluginArtifact.getDependencies() |
List<Dependency> |
ArtifactWithDependencies.getDependencies() |
List<Dependency> |
ProjectArtifact.getManagedDependencies() |
List<Dependency> |
PluginArtifact.getManagedDependencies() |
List<Dependency> |
ArtifactWithDependencies.getManagedDependencies() |
Modifier and Type | Method and Description |
---|---|
static Set<Artifact> |
MavenMetadataSource.createArtifacts(ArtifactFactory artifactFactory,
List<Dependency> dependencies,
String inheritedScope,
ArtifactFilter dependencyFilter,
MavenProject project)
Deprecated.
|
Constructor and Description |
---|
InvalidDependencyVersionException(String projectId,
Dependency dependency,
File pomFile,
InvalidVersionSpecificationException cause) |
Modifier and Type | Method and Description |
---|---|
Dependency |
VersionNotFoundException.getDependency() |
Modifier and Type | Method and Description |
---|---|
Artifact |
RepositorySystem.createDependencyArtifact(Dependency dependency) |
Constructor and Description |
---|
VersionNotFoundException(String projectId,
Dependency dependency,
File pomFile,
InvalidVersionSpecificationException cause) |
Modifier and Type | Method and Description |
---|---|
Artifact |
LegacyRepositorySystem.createDependencyArtifact(Dependency d) |
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.