public class MavenEmbedder extends Object
| Constructor and Description |
|---|
MavenEmbedder()
Constructs an embedder object and loads the appropriate libraries so that we can use an embedded maven
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.maven.execution.MavenExecutionResult |
execute(org.apache.maven.execution.MavenExecutionRequest request,
org.apache.maven.settings.Settings settings)
Executes the given request
|
public MavenEmbedder()
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException,
org.codehaus.plexus.PlexusContainerException
org.codehaus.plexus.component.repository.exception.ComponentLookupExceptionorg.codehaus.plexus.PlexusContainerExceptionpublic org.apache.maven.execution.MavenExecutionResult execute(org.apache.maven.execution.MavenExecutionRequest request,
org.apache.maven.settings.Settings settings)
request - the MavenExecutionRequest to processsettings - the Settings to use in the executionMavenExecutionResult for valid requests; null otherwiseCopyright © 2014. All Rights Reserved.