public class MavenFacade
extends Object
All the hairy stuff goes here.
Constructor and Description |
---|
MavenFacade(org.eclipse.aether.RepositorySystem repoSystem,
org.apache.maven.execution.MavenSession session,
org.apache.maven.plugin.BuildPluginManager buildPluginManager,
org.apache.maven.lifecycle.internal.LifecycleExecutionPlanCalculator lifecycleExecutionPlanCalculator,
MavenLoggerProxy logger) |
Modifier and Type | Method and Description |
---|---|
void |
executeLifecyclePhase(scala.collection.Seq<org.apache.maven.project.MavenProject> projects,
String phase) |
boolean |
executeMavenPluginGoal(org.apache.maven.project.MavenProject project,
String name)
Execute the given Lagom plugin goal on the given project.
|
scala.collection.Seq<org.apache.maven.project.MavenProject> |
locateServices() |
scala.collection.Seq<org.eclipse.aether.artifact.Artifact> |
resolveArtifact(org.eclipse.aether.artifact.Artifact artifact)
Resolve the classpath for the given artifact.
|
scala.collection.Seq<org.eclipse.aether.artifact.Artifact> |
resolveDependency(org.eclipse.aether.graph.Dependency dependency,
scala.collection.Seq<org.eclipse.aether.graph.Dependency> additionalDependencies)
Resolve the classpath for the given dependency.
|
scala.collection.Seq<org.eclipse.aether.graph.Dependency> |
resolveProject(org.apache.maven.project.MavenProject project,
scala.collection.Seq<org.eclipse.aether.graph.Dependency> additionalDependencies)
Resolve a project, with additional dependencies added to the project.
|
public MavenFacade(org.eclipse.aether.RepositorySystem repoSystem, org.apache.maven.execution.MavenSession session, org.apache.maven.plugin.BuildPluginManager buildPluginManager, org.apache.maven.lifecycle.internal.LifecycleExecutionPlanCalculator lifecycleExecutionPlanCalculator, MavenLoggerProxy logger)
public scala.collection.Seq<org.eclipse.aether.artifact.Artifact> resolveArtifact(org.eclipse.aether.artifact.Artifact artifact)
public scala.collection.Seq<org.eclipse.aether.artifact.Artifact> resolveDependency(org.eclipse.aether.graph.Dependency dependency, scala.collection.Seq<org.eclipse.aether.graph.Dependency> additionalDependencies)
public scala.collection.Seq<org.eclipse.aether.graph.Dependency> resolveProject(org.apache.maven.project.MavenProject project, scala.collection.Seq<org.eclipse.aether.graph.Dependency> additionalDependencies)
project
- The project to resolve.additionalDependencies
- The additional dependencies to add.public scala.collection.Seq<org.apache.maven.project.MavenProject> locateServices()
public boolean executeMavenPluginGoal(org.apache.maven.project.MavenProject project, String name)
public void executeLifecyclePhase(scala.collection.Seq<org.apache.maven.project.MavenProject> projects, String phase)