org.gcube.vremanagement.softwaregateway.impl.repositorymanager.maven
Class MavenEmbedder
java.lang.Object
org.gcube.vremanagement.softwaregateway.impl.repositorymanager.maven.MavenEmbedder
public class MavenEmbedder
- extends Object
Maven Embedder to perform predefined goals
- Author:
- Manuele Simi (CNR)
|
Constructor Summary |
MavenEmbedder()
Constructs an embedder object and loads the appropriate libraries so that we can use an embedded maven |
|
Method Summary |
org.apache.maven.execution.MavenExecutionResult |
execute(org.apache.maven.execution.MavenExecutionRequest request,
org.apache.maven.settings.Settings settings)
Executes the given request |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MavenEmbedder
public MavenEmbedder()
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException,
org.codehaus.plexus.PlexusContainerException
- Constructs an embedder object and loads the appropriate libraries so that we can use an embedded maven
- Throws:
org.codehaus.plexus.component.repository.exception.ComponentLookupException
org.codehaus.plexus.PlexusContainerException
execute
public org.apache.maven.execution.MavenExecutionResult execute(org.apache.maven.execution.MavenExecutionRequest request,
org.apache.maven.settings.Settings settings)
- Executes the given request
- Parameters:
request - the MavenExecutionRequest to processsettings - the Settings to use in the execution
- Returns:
- a
MavenExecutionResult for valid requests; null otherwise
Copyright © 2013. All Rights Reserved.