Modifier and Type | Method and Description |
---|---|
Set<Artifact> |
ProjectDependenciesResolver.resolve(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
MavenSession session)
Deprecated.
Resolves the transitive dependencies of the specified project.
|
Set<Artifact> |
DefaultProjectDependenciesResolver.resolve(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
MavenSession session)
Deprecated.
|
Set<Artifact> |
ProjectDependenciesResolver.resolve(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
MavenSession session,
Set<Artifact> ignoreableArtifacts)
Deprecated.
Resolves the transitive dependencies of the specified project.
|
Set<Artifact> |
DefaultProjectDependenciesResolver.resolve(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
MavenSession session,
Set<Artifact> ignoreableArtifacts)
Deprecated.
|
Set<Artifact> |
ProjectDependenciesResolver.resolve(MavenProject project,
Collection<String> scopesToResolve,
MavenSession session)
Deprecated.
Resolves the transitive dependencies of the specified project.
|
Set<Artifact> |
DefaultProjectDependenciesResolver.resolve(MavenProject project,
Collection<String> scopesToResolve,
MavenSession session)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Set<Artifact> |
ProjectDependenciesResolver.resolve(Collection<? extends MavenProject> projects,
Collection<String> scopes,
MavenSession session)
Deprecated.
Resolves the transitive dependencies of the specified projects.
|
Set<Artifact> |
DefaultProjectDependenciesResolver.resolve(Collection<? extends MavenProject> projects,
Collection<String> scopesToResolve,
MavenSession session)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static RepositoryRequest |
DefaultRepositoryRequest.getRepositoryRequest(MavenSession session,
MavenProject project) |
Modifier and Type | Method and Description |
---|---|
MavenProject |
MavenSession.getCurrentProject() |
MavenProject |
ProjectExecutionEvent.getProject() |
MavenProject |
MojoExecutionEvent.getProject() |
MavenProject |
MavenExecutionResult.getProject() |
MavenProject |
ExecutionEvent.getProject()
Gets the current project (if any).
|
MavenProject |
DefaultMavenExecutionResult.getProject() |
MavenProject |
BuildSummary.getProject()
Gets the project being summarized.
|
MavenProject |
MavenSession.getTopLevelProject() |
Modifier and Type | Method and Description |
---|---|
List<MavenProject> |
ProjectDependencyGraph.getAllProjects()
Gets all collected projects.
|
List<MavenProject> |
MavenSession.getAllProjects()
This is a provisional method and may be removed
|
List<MavenProject> |
ProjectDependencyGraph.getDownstreamProjects(MavenProject project,
boolean transitive)
Gets the downstream projects of the specified project.
|
Map<String,MavenProject> |
MavenSession.getProjectMap()
Deprecated.
|
List<MavenProject> |
MavenSession.getProjects() |
List<MavenProject> |
ReactorManager.getSortedProjects()
Deprecated.
|
List<MavenProject> |
ProjectDependencyGraph.getSortedProjects()
Gets all projects in their intended build order, i.e.
|
List<MavenProject> |
MavenSession.getSortedProjects()
Deprecated.
|
List<MavenProject> |
MavenExecutionResult.getTopologicallySortedProjects() |
List<MavenProject> |
DefaultMavenExecutionResult.getTopologicallySortedProjects() |
List<MavenProject> |
ProjectDependencyGraph.getUpstreamProjects(MavenProject project,
boolean transitive)
Gets the upstream projects of the specified project.
|
Modifier and Type | Method and Description |
---|---|
void |
ReactorManager.blackList(MavenProject project)
Deprecated.
|
BuildFailure |
ReactorManager.getBuildFailure(MavenProject project)
Deprecated.
|
BuildSuccess |
ReactorManager.getBuildSuccess(MavenProject project)
Deprecated.
|
BuildSummary |
MavenExecutionResult.getBuildSummary(MavenProject project)
Gets the build summary for the specified project.
|
BuildSummary |
DefaultMavenExecutionResult.getBuildSummary(MavenProject project) |
List<MavenProject> |
ProjectDependencyGraph.getDownstreamProjects(MavenProject project,
boolean transitive)
Gets the downstream projects of the specified project.
|
Map |
ReactorManager.getPluginContext(PluginDescriptor plugin,
MavenProject project)
Deprecated.
|
Map<String,Object> |
MavenSession.getPluginContext(PluginDescriptor plugin,
MavenProject project) |
List<MavenProject> |
ProjectDependencyGraph.getUpstreamProjects(MavenProject project,
boolean transitive)
Gets the upstream projects of the specified project.
|
boolean |
ReactorManager.hasBuildFailure(MavenProject project)
Deprecated.
|
boolean |
ReactorManager.hasBuildSuccess(MavenProject project)
Deprecated.
|
boolean |
ReactorManager.isBlackListed(MavenProject project)
Deprecated.
|
void |
ReactorManager.registerBuildFailure(MavenProject project,
Exception error,
String task,
long time)
Deprecated.
|
void |
ReactorManager.registerBuildSuccess(MavenProject project,
long time)
Deprecated.
|
void |
MavenSession.setCurrentProject(MavenProject currentProject) |
MavenExecutionResult |
MavenExecutionResult.setProject(MavenProject project) |
MavenExecutionResult |
DefaultMavenExecutionResult.setProject(MavenProject project) |
Modifier and Type | Method and Description |
---|---|
void |
MavenSession.setAllProjects(List<MavenProject> allProjects)
This is a provisional method and may be removed
|
void |
MavenSession.setProjectMap(Map<String,MavenProject> projectMap) |
void |
MavenSession.setProjects(List<MavenProject> projects) |
MavenExecutionResult |
MavenExecutionResult.setTopologicallySortedProjects(List<MavenProject> projects) |
MavenExecutionResult |
DefaultMavenExecutionResult.setTopologicallySortedProjects(List<MavenProject> topologicallySortedProjects) |
Constructor and Description |
---|
BuildFailure(MavenProject project,
long time,
Throwable cause)
Creates a new build summary for the specified project.
|
BuildSuccess(MavenProject project,
long time)
Creates a new build summary for the specified project.
|
BuildSummary(MavenProject project,
long time)
Creates a new build summary for the specified project.
|
MavenSession(org.codehaus.plexus.PlexusContainer container,
MavenExecutionRequest request,
MavenExecutionResult result,
MavenProject project)
Deprecated.
|
MojoExecutionEvent(MavenSession session,
MavenProject project,
MojoExecution mojoExecution,
Mojo mojo) |
MojoExecutionEvent(MavenSession session,
MavenProject project,
MojoExecution mojoExecution,
Mojo mojo,
Throwable cause) |
ProjectExecutionEvent(MavenSession session,
MavenProject project) |
ProjectExecutionEvent(MavenSession session,
MavenProject project,
List<MojoExecution> executionPlan) |
ProjectExecutionEvent(MavenSession session,
MavenProject project,
List<MojoExecution> executionPlan,
Throwable cause) |
ProjectExecutionEvent(MavenSession session,
MavenProject project,
Throwable cause) |
Constructor and Description |
---|
MavenSession(org.codehaus.plexus.PlexusContainer container,
MavenExecutionRequest request,
MavenExecutionResult result,
List<MavenProject> projects)
Deprecated.
|
ReactorManager(List<MavenProject> projects)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<MavenProject> |
DefaultProjectDependencyGraph.getAllProjects() |
List<MavenProject> |
DefaultProjectDependencyGraph.getDownstreamProjects(MavenProject project,
boolean transitive) |
List<MavenProject> |
DefaultProjectDependencyGraph.getSortedProjects() |
List<MavenProject> |
DefaultProjectDependencyGraph.getUpstreamProjects(MavenProject project,
boolean transitive) |
Modifier and Type | Method and Description |
---|---|
List<MavenProject> |
DefaultProjectDependencyGraph.getDownstreamProjects(MavenProject project,
boolean transitive) |
List<MavenProject> |
DefaultProjectDependencyGraph.getUpstreamProjects(MavenProject project,
boolean transitive) |
Constructor and Description |
---|
DefaultProjectDependencyGraph(Collection<MavenProject> projects)
Creates a new project dependency graph based on the specified projects.
|
DefaultProjectDependencyGraph(List<MavenProject> allProjects,
Collection<MavenProject> projects)
Creates a new project dependency graph based on the specified projects.
|
DefaultProjectDependencyGraph(List<MavenProject> allProjects,
Collection<MavenProject> projects)
Creates a new project dependency graph based on the specified projects.
|
Modifier and Type | Method and Description |
---|---|
MavenProject |
LifecycleExecutionException.getProject() |
Modifier and Type | Method and Description |
---|---|
List<MavenProject> |
LifecycleExecutor.executeForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
List<MavenProject> |
DefaultLifecycleExecutor.executeForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
Modifier and Type | Method and Description |
---|---|
Map<String,List<MojoExecution>> |
LifecycleMappingDelegate.calculateLifecycleMappings(MavenSession session,
MavenProject project,
Lifecycle lifecycle,
String lifecyclePhase) |
void |
MojoExecutionConfigurator.configure(MavenProject project,
MojoExecution mojoExecution,
boolean allowPluginLevelConfig)
Create the MojoExecution configuration based on configuration for a Mojo in the MavenProject and the
default configuration for the Mojo from the containing plugin's plugin.xml descriptor.
|
Constructor and Description |
---|
LifecycleExecutionException(MojoExecution execution,
MavenProject project,
Throwable cause) |
LifecycleExecutionException(String message,
MavenProject project) |
LifecycleExecutionException(String message,
MojoExecution execution,
MavenProject project) |
LifecycleExecutionException(String message,
MojoExecution execution,
MavenProject project,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
MavenProject |
ProjectSegment.getProject() |
MavenProject |
DependencyContext.getProject() |
Modifier and Type | Method and Description |
---|---|
List<MavenProject> |
MojoExecutor.executeForkedExecutions(MojoExecution mojoExecution,
MavenSession session,
ProjectIndex projectIndex) |
List<MavenProject> |
ProjectSegment.getImmediateUpstreamProjects() |
Map<String,MavenProject> |
ProjectIndex.getProjects() |
Set<MavenProject> |
ProjectBuildList.getProjects() |
static List<MavenProject> |
LifecycleDependencyResolver.getProjects(MavenProject project,
MavenSession session,
boolean aggregator) |
List<MavenProject> |
ProjectSegment.getTransitiveUpstreamProjects() |
Map<MavenProject,ProjectSegment> |
ProjectBuildList.selectSegment(TaskSegment taskSegment) |
Modifier and Type | Method and Description |
---|---|
void |
ReactorBuildStatus.blackList(MavenProject project) |
void |
LifecycleModuleBuilder.buildProject(MavenSession session,
MavenSession rootSession,
ReactorContext reactorContext,
MavenProject currentProject,
TaskSegment taskSegment) |
void |
LifecycleModuleBuilder.buildProject(MavenSession session,
ReactorContext reactorContext,
MavenProject currentProject,
TaskSegment taskSegment) |
MavenExecutionPlan |
LifecycleExecutionPlanCalculator.calculateExecutionPlan(MavenSession session,
MavenProject project,
List<Object> tasks) |
MavenExecutionPlan |
DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(MavenSession session,
MavenProject project,
List<Object> tasks) |
MavenExecutionPlan |
LifecycleExecutionPlanCalculator.calculateExecutionPlan(MavenSession session,
MavenProject project,
List<Object> tasks,
boolean setup) |
MavenExecutionPlan |
DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(MavenSession session,
MavenProject project,
List<Object> tasks,
boolean setup) |
Map<String,List<MojoExecution>> |
DefaultLifecycleMappingDelegate.calculateLifecycleMappings(MavenSession session,
MavenProject project,
Lifecycle lifecycle,
String lifecyclePhase) |
List<MojoExecution> |
DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(MavenSession session,
MavenProject project,
List<Object> tasks) |
void |
DefaultMojoExecutionConfigurator.configure(MavenProject project,
MojoExecution mojoExecution,
boolean allowPluginLevelConfig) |
Set<Artifact> |
ProjectArtifactFactory.createArtifacts(MavenProject project) |
Set<Artifact> |
DefaultProjectArtifactFactory.createArtifacts(MavenProject project) |
static List<ExecutionPlanItem> |
ExecutionPlanItem.createExecutionPlanItems(MavenProject mavenProject,
List<MojoExecution> executions) |
void |
LifecycleDebugLogger.debugProjectPlan(MavenProject currentProject,
MavenExecutionPlan executionPlan) |
ProjectSegment |
ProjectBuildList.findByMavenProject(MavenProject mavenProject)
Finds the first ProjectSegment matching the supplied project
|
MojoDescriptor |
MojoDescriptorCreator.getMojoDescriptor(String task,
MavenSession session,
MavenProject project) |
static List<MavenProject> |
LifecycleDependencyResolver.getProjects(MavenProject project,
MavenSession session,
boolean aggregator) |
boolean |
ReactorBuildStatus.isBlackListed(MavenProject project) |
boolean |
ReactorBuildStatus.isHaltedOrBlacklisted(MavenProject mavenProject) |
void |
LifecyclePluginResolver.resolveMissingPluginVersions(MavenProject project,
MavenSession session) |
void |
LifecycleDependencyResolver.resolveProjectDependencies(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
MavenSession session,
boolean aggregating,
Set<Artifact> projectArtifacts) |
void |
LifecycleExecutionPlanCalculator.setupMojoExecution(MavenSession session,
MavenProject project,
MojoExecution mojoExecution) |
void |
DefaultLifecycleExecutionPlanCalculator.setupMojoExecution(MavenSession session,
MavenProject project,
MojoExecution mojoExecution) |
Constructor and Description |
---|
DependencyContext(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve) |
PhaseRecorder(MavenProject project) |
ProjectSegment(MavenProject project,
TaskSegment taskSegment,
MavenSession copiedSession) |
Constructor and Description |
---|
ProjectIndex(List<MavenProject> projects) |
Modifier and Type | Method and Description |
---|---|
static void |
BuilderCommon.attachToThread(MavenProject currentProject) |
static String |
BuilderCommon.getKey(MavenProject project) |
void |
BuilderCommon.handleBuildError(ReactorContext buildContext,
MavenSession rootSession,
MavenSession currentSession,
MavenProject mavenProject,
Throwable t,
long buildStartTime) |
MavenExecutionPlan |
BuilderCommon.resolveBuildPlan(MavenSession session,
MavenProject project,
TaskSegment taskSegment,
Set<Artifact> projectArtifacts) |
Modifier and Type | Method and Description |
---|---|
List<MavenProject> |
ConcurrencyDependencyGraph.getActiveDependencies(MavenProject p)
|
protected List<MavenProject> |
ConcurrencyDependencyGraph.getDependencies(MavenProject p)
|
protected Set<MavenProject> |
ConcurrencyDependencyGraph.getFinishedProjects() |
List<MavenProject> |
ConcurrencyDependencyGraph.getRootSchedulableBuilds()
Gets all the builds that have no reactor-dependencies
|
Set<MavenProject> |
ConcurrencyDependencyGraph.getUnfinishedProjects() |
List<MavenProject> |
ConcurrencyDependencyGraph.markAsFinished(MavenProject mavenProject)
Marks the provided project as finished.
|
Modifier and Type | Method and Description |
---|---|
List<MavenProject> |
ConcurrencyDependencyGraph.getActiveDependencies(MavenProject p)
|
protected List<MavenProject> |
ConcurrencyDependencyGraph.getDependencies(MavenProject p)
|
List<MavenProject> |
ConcurrencyDependencyGraph.markAsFinished(MavenProject mavenProject)
Marks the provided project as finished.
|
Modifier and Type | Method and Description |
---|---|
MavenProject |
PluginManagerException.getProject() |
Modifier and Type | Method and Description |
---|---|
void |
PluginManager.executeMojo(MavenProject project,
MojoExecution execution,
MavenSession session)
Deprecated.
|
Plugin |
PluginManager.getPluginDefinitionForPrefix(String prefix,
MavenSession session,
MavenProject project)
Deprecated.
|
PluginDescriptor |
PluginManager.loadPluginDescriptor(Plugin plugin,
MavenProject project,
MavenSession session)
Deprecated.
|
PluginDescriptor |
PluginManager.loadPluginFully(Plugin plugin,
MavenProject project,
MavenSession session)
Deprecated.
|
void |
ExtensionRealmCache.register(MavenProject project,
ExtensionRealmCache.Key key,
ExtensionRealmCache.CacheRecord record)
Registers the specified cache record for usage with the given project.
|
void |
DefaultExtensionRealmCache.register(MavenProject project,
ExtensionRealmCache.Key key,
ExtensionRealmCache.CacheRecord record) |
void |
PluginArtifactsCache.register(MavenProject project,
PluginArtifactsCache.Key cacheKey,
PluginArtifactsCache.CacheRecord record)
Registers the specified cache record for usage with the given project.
|
void |
DefaultPluginArtifactsCache.register(MavenProject project,
PluginArtifactsCache.Key cacheKey,
PluginArtifactsCache.CacheRecord record) |
void |
PluginRealmCache.register(MavenProject project,
PluginRealmCache.Key key,
PluginRealmCache.CacheRecord record)
Registers the specified cache record for usage with the given project.
|
void |
DefaultPluginRealmCache.register(MavenProject project,
PluginRealmCache.Key key,
PluginRealmCache.CacheRecord record) |
ExtensionRealmCache.CacheRecord |
MavenPluginManager.setupExtensionsRealm(MavenProject project,
Plugin plugin,
org.eclipse.aether.RepositorySystemSession session)
Sets up class realm for the specified build extensions plugin.
|
PluginDescriptor |
PluginManager.verifyPlugin(Plugin plugin,
MavenProject project,
Settings settings,
ArtifactRepository localRepository)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultPluginManager.executeMojo(MavenProject project,
MojoExecution execution,
MavenSession session) |
Plugin |
DefaultPluginManager.getPluginDefinitionForPrefix(String prefix,
MavenSession session,
MavenProject project) |
PluginDescriptor |
DefaultPluginManager.loadPluginDescriptor(Plugin plugin,
MavenProject project,
MavenSession session) |
PluginDescriptor |
DefaultPluginManager.loadPluginFully(Plugin plugin,
MavenProject project,
MavenSession session) |
ExtensionRealmCache.CacheRecord |
DefaultMavenPluginManager.setupExtensionsRealm(MavenProject project,
Plugin plugin,
org.eclipse.aether.RepositorySystemSession session) |
PluginDescriptor |
DefaultPluginManager.verifyPlugin(Plugin plugin,
MavenProject project,
Settings settings,
ArtifactRepository localRepository) |
Modifier and Type | Method and Description |
---|---|
MavenProject |
MavenProjectBuilder.build(File pom,
ArtifactRepository localRepository,
ProfileManager profileManager)
Deprecated.
|
MavenProject |
DefaultMavenProjectBuilder.build(File pom,
ArtifactRepository localRepository,
ProfileManager profileManager)
Deprecated.
|
MavenProject |
MavenProjectBuilder.build(File pom,
ProjectBuilderConfiguration configuration)
Deprecated.
|
MavenProject |
DefaultMavenProjectBuilder.build(File pom,
ProjectBuilderConfiguration configuration)
Deprecated.
|
MavenProject |
MavenProjectBuilder.buildFromRepository(Artifact artifact,
List<ArtifactRepository> remoteRepositories,
ArtifactRepository localRepository)
Deprecated.
|
MavenProject |
DefaultMavenProjectBuilder.buildFromRepository(Artifact artifact,
List<ArtifactRepository> remoteRepositories,
ArtifactRepository localRepository)
Deprecated.
|
MavenProject |
MavenProjectBuilder.buildFromRepository(Artifact artifact,
List<ArtifactRepository> remoteRepositories,
ArtifactRepository localRepository,
boolean allowStubModel)
Deprecated.
|
MavenProject |
DefaultMavenProjectBuilder.buildFromRepository(Artifact artifact,
List<ArtifactRepository> remoteRepositories,
ArtifactRepository localRepository,
boolean allowStubModel)
Deprecated.
|
MavenProject |
DefaultMavenProjectBuilder.buildFromRepository(Artifact artifact,
List<ArtifactRepository> remoteRepositories,
ProjectBuilderConfiguration configuration,
boolean allowStubModel)
Deprecated.
|
MavenProject |
MavenProjectBuilder.buildStandaloneSuperProject(ArtifactRepository localRepository)
Deprecated.
|
MavenProject |
DefaultMavenProjectBuilder.buildStandaloneSuperProject(ArtifactRepository localRepository)
Deprecated.
|
MavenProject |
MavenProjectBuilder.buildStandaloneSuperProject(ArtifactRepository localRepository,
ProfileManager profileManager)
Deprecated.
|
MavenProject |
DefaultMavenProjectBuilder.buildStandaloneSuperProject(ArtifactRepository localRepository,
ProfileManager profileManager)
Deprecated.
|
MavenProject |
MavenProjectBuilder.buildStandaloneSuperProject(ProjectBuilderConfiguration configuration)
Deprecated.
|
MavenProject |
DefaultMavenProjectBuilder.buildStandaloneSuperProject(ProjectBuilderConfiguration configuration)
Deprecated.
This is used for pom-less execution like running archetype:generate.
|
MavenProject |
MavenProjectBuilder.buildWithDependencies(File pom,
ArtifactRepository localRepository,
ProfileManager globalProfileManager)
Deprecated.
|
MavenProject |
DefaultMavenProjectBuilder.buildWithDependencies(File pom,
ArtifactRepository localRepository,
ProfileManager profileManager)
Deprecated.
|
MavenProject |
MavenProjectBuilder.buildWithDependencies(File pom,
ArtifactRepository localRepository,
ProfileManager globalProfileManager,
org.apache.maven.wagon.events.TransferListener transferListener)
Deprecated.
|
MavenProject |
DefaultMavenProjectBuilder.buildWithDependencies(File pom,
ArtifactRepository localRepository,
ProfileManager profileManager,
org.apache.maven.wagon.events.TransferListener transferListener)
Deprecated.
|
MavenProject |
MavenProject.clone() |
MavenProject |
MavenProject.getExecutionProject() |
MavenProject |
DependencyResolutionRequest.getMavenProject()
Gets the project to resolve dependencies for.
|
MavenProject |
DefaultDependencyResolutionRequest.getMavenProject() |
MavenProject |
MavenProject.getParent()
Returns the project corresponding to a declared parent.
|
MavenProject |
ProjectBuildingResult.getProject()
Gets the project that was built.
|
MavenProject |
ProjectBuildingRequest.getProject() |
MavenProject |
DuplicateArtifactAttachmentException.getProject() |
MavenProject |
DefaultProjectBuildingRequest.getProject() |
MavenProject |
DefaultModelBuildingListener.getProject()
Gets the project whose model is being built.
|
MavenProject |
ProjectSorter.getTopLevelProject() |
Modifier and Type | Method and Description |
---|---|
List<MavenProject> |
MavenProject.getCollectedProjects() |
Map<String,MavenProject> |
ProjectSorter.getProjectMap() |
Map<String,MavenProject> |
MavenProject.getProjectReferences() |
List<MavenProject> |
ProjectSorter.getSortedProjects() |
Modifier and Type | Method and Description |
---|---|
void |
MavenProject.addProjectReference(MavenProject project) |
void |
MavenProjectHelper.addResource(MavenProject project,
String resourceDirectory,
List<String> includes,
List<String> excludes)
Add a resource directory to the project.
|
void |
DefaultMavenProjectHelper.addResource(MavenProject project,
String resourceDirectory,
List<String> includes,
List<String> excludes) |
void |
MavenProjectHelper.addTestResource(MavenProject project,
String resourceDirectory,
List<String> includes,
List<String> excludes)
Add a test resource directory to the project.
|
void |
DefaultMavenProjectHelper.addTestResource(MavenProject project,
String resourceDirectory,
List<String> includes,
List<String> excludes) |
void |
DefaultMavenProjectHelper.attachArtifact(MavenProject project,
Artifact artifact)
Add an attached artifact or replace the file for an existing artifact.
|
void |
MavenProjectHelper.attachArtifact(MavenProject project,
File artifactFile,
String artifactClassifier)
See
MavenProjectHelper.attachArtifact(MavenProject, String, String, java.io.File) , but with type set to null. |
void |
DefaultMavenProjectHelper.attachArtifact(MavenProject project,
File artifactFile,
String artifactClassifier) |
void |
MavenProjectHelper.attachArtifact(MavenProject project,
String artifactType,
File artifactFile)
* See
MavenProjectHelper.attachArtifact(MavenProject, String, String, java.io.File) , but with classifier set to null. |
void |
DefaultMavenProjectHelper.attachArtifact(MavenProject project,
String artifactType,
File artifactFile) |
void |
MavenProjectHelper.attachArtifact(MavenProject project,
String artifactType,
String artifactClassifier,
File artifactFile)
Add or replace an artifact to the current project.
|
void |
DefaultMavenProjectHelper.attachArtifact(MavenProject project,
String artifactType,
String artifactClassifier,
File artifactFile) |
ProjectRealmCache.CacheRecord |
ProjectBuildingHelper.createProjectRealm(MavenProject project,
Model model,
ProjectBuildingRequest request)
Creates the project realm that hosts the build extensions of the specified model.
|
ProjectRealmCache.CacheRecord |
DefaultProjectBuildingHelper.createProjectRealm(MavenProject project,
Model model,
ProjectBuildingRequest request) |
org.eclipse.aether.RepositorySystemSession |
RepositorySessionDecorator.decorate(MavenProject project,
org.eclipse.aether.RepositorySystemSession session)
Returns possibly
null Aether repository system session to be used to resolve project dependencies. |
static String |
ProjectSorter.getId(MavenProject project) |
String |
MavenProject.getModulePathAdjustment(MavenProject moduleProject)
Deprecated.
|
void |
ProjectRealmCache.register(MavenProject project,
ProjectRealmCache.Key key,
ProjectRealmCache.CacheRecord record)
Registers the specified cache record for usage with the given project.
|
void |
DefaultProjectRealmCache.register(MavenProject project,
ProjectRealmCache.Key key,
ProjectRealmCache.CacheRecord record) |
void |
ProjectBuildingHelper.selectProjectRealm(MavenProject project)
Updates the context class loader such that the container will search the project realm when the model builder
injects the lifecycle bindings from the packaging in the next step.
|
void |
DefaultProjectBuildingHelper.selectProjectRealm(MavenProject project) |
void |
MavenProject.setExecutionProject(MavenProject executionProject) |
DependencyResolutionRequest |
DependencyResolutionRequest.setMavenProject(MavenProject project)
Sets the project to resolve dependencies for.
|
DependencyResolutionRequest |
DefaultDependencyResolutionRequest.setMavenProject(MavenProject project) |
void |
MavenProject.setParent(MavenProject parent) |
void |
ProjectBuildingRequest.setProject(MavenProject mavenProject) |
void |
DefaultProjectBuildingRequest.setProject(MavenProject mavenProject) |
Modifier and Type | Method and Description |
---|---|
void |
MavenProject.setCollectedProjects(List<MavenProject> collectedProjects) |
Constructor and Description |
---|
DefaultDependencyResolutionRequest(MavenProject project,
org.eclipse.aether.RepositorySystemSession session) |
DefaultModelBuildingListener(MavenProject project,
ProjectBuildingHelper projectBuildingHelper,
ProjectBuildingRequest projectBuildingRequest) |
DuplicateArtifactAttachmentException(MavenProject project,
Artifact artifact) |
MavenProject(MavenProject project) |
Constructor and Description |
---|
ProjectSorter(Collection<MavenProject> projects)
Sort a list of projects.
|
Modifier and Type | Method and Description |
---|---|
MavenProject |
ProjectArtifact.getProject() |
Modifier and Type | Method and Description |
---|---|
static Set<Artifact> |
MavenMetadataSource.createArtifacts(ArtifactFactory artifactFactory,
List<Dependency> dependencies,
String inheritedScope,
ArtifactFilter dependencyFilter,
MavenProject project)
Deprecated.
|
ProjectArtifactsCache.Key |
ProjectArtifactsCache.createKey(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
boolean aggregating,
org.eclipse.aether.RepositorySystemSession session) |
ProjectArtifactsCache.Key |
DefaultProjectArtifactsCache.createKey(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
boolean aggregating,
org.eclipse.aether.RepositorySystemSession session) |
void |
ProjectArtifactsCache.register(MavenProject project,
ProjectArtifactsCache.Key cacheKey,
ProjectArtifactsCache.CacheRecord record)
Registers the specified cache record for usage with the given project.
|
void |
DefaultProjectArtifactsCache.register(MavenProject project,
ProjectArtifactsCache.Key cacheKey,
ProjectArtifactsCache.CacheRecord record) |
Constructor and Description |
---|
ActiveProjectArtifact(MavenProject project,
Artifact artifact)
Deprecated.
|
DefaultProjectArtifactsCache.CacheKey(MavenProject project,
List<org.eclipse.aether.repository.RemoteRepository> repositories,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
boolean aggregating,
org.eclipse.aether.RepositorySystemSession session) |
ProjectArtifact(MavenProject project) |
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.