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.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> |
ModelBase.getDependencies()
Method getDependencies.
|
List<Dependency> |
DependencyManagement.getDependencies()
Method getDependencies.
|
List<Dependency> |
Plugin.getDependencies()
Method getDependencies.
|
Modifier and Type | Method and Description |
---|---|
void |
ModelBase.addDependency(Dependency dependency)
Method addDependency.
|
void |
DependencyManagement.addDependency(Dependency dependency)
Method addDependency.
|
void |
Plugin.addDependency(Dependency dependency)
Method addDependency.
|
void |
ModelBase.removeDependency(Dependency dependency)
Method removeDependency.
|
void |
DependencyManagement.removeDependency(Dependency dependency)
Method removeDependency.
|
void |
Plugin.removeDependency(Dependency dependency)
Method removeDependency.
|
Modifier and Type | Method and Description |
---|---|
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.
|
void |
Plugin.setDependencies(List<Dependency> dependencies)
Set additional dependencies that this project needs to
introduce to the plugin's
classloader.
|
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 |
---|---|
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 |
---|---|
void |
MavenProject.setDependencies(List<Dependency> dependencies) |
Modifier and Type | Method and Description |
---|---|
Dependency |
InvalidDependencyVersionException.getDependency() |
Modifier and Type | Method and Description |
---|---|
List<Dependency> |
PluginArtifact.getDependencies() |
List<Dependency> |
ArtifactWithDependencies.getDependencies() |
List<Dependency> |
ProjectArtifact.getDependencies() |
List<Dependency> |
PluginArtifact.getManagedDependencies() |
List<Dependency> |
ArtifactWithDependencies.getManagedDependencies() |
List<Dependency> |
ProjectArtifact.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–2015 The Apache Software Foundation. All rights reserved.