|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MAEServiceManager
Service manager used as an aid in constructing complex objects correctly for use in Maven, such as
RepositorySystemSession instances, which are used to resolve artifacts, or ProjectBuildingRequest
instances, used to build maven projects from their corresponding POM files or artifact coordinates.
| Method Summary | ||
|---|---|---|
org.sonatype.aether.RepositorySystem |
aetherRepositorySystem()
Retrieve the aether RepositorySystem component. |
|
org.sonatype.aether.RepositorySystemSession |
createAetherRepositorySystemSession()
Create a new RepositorySystemSession for resolving artifacts, using default configurations. |
|
org.sonatype.aether.RepositorySystemSession |
createAetherRepositorySystemSession(org.apache.maven.execution.MavenExecutionRequest request)
Create a new RepositorySystemSession for resolving artifacts, based on the configuration of a
MavenExecutionRequest. |
|
org.apache.maven.project.DefaultProjectBuildingRequest |
createProjectBuildingRequest()
Create a new ProjectBuildingRequest to be used in building project instances from POM files or artifact
coordinates. |
|
org.apache.maven.project.DefaultProjectBuildingRequest |
createProjectBuildingRequest(MAEExecutionRequest executionRequest)
Create a new ProjectBuildingRequest to be used in building project instances from POM files or artifact
coordinates. |
|
org.apache.maven.project.DefaultProjectBuildingRequest |
createProjectBuildingRequest(org.apache.maven.execution.MavenExecutionRequest executionRequest)
Create a new ProjectBuildingRequest to be used in building project instances from POM files or artifact
coordinates. |
|
org.apache.maven.project.DefaultProjectBuildingRequest |
createProjectBuildingRequest(org.apache.maven.project.ProjectBuildingRequest templateProjectBuildingRequest)
Create a new ProjectBuildingRequest to be used in building project instances from POM files or artifact
coordinates. |
|
org.apache.maven.artifact.repository.ArtifactRepository |
defaultLocalRepository()
Retrieve an ArtifactRepository instance configured for the default location of the Maven local
repository. |
|
org.apache.maven.repository.RepositorySystem |
mavenRepositorySystem()
Retrieve the Maven RepositorySystem component. |
|
org.apache.maven.project.ProjectBuilder |
projectBuilder()
Retrieve the Maven ProjectBuilder component. |
|
|
service(Class<T> type)
Retrieve a component from the Maven component environment, based on its class. |
|
|
service(Class<T> type,
String hint)
Retrieve a component from the Maven component environment, based on its class and an implementation hint. |
|
| Method Detail |
|---|
org.apache.maven.project.ProjectBuilder projectBuilder()
throws MAEEmbeddingException
ProjectBuilder component.
MAEEmbeddingException
org.apache.maven.project.DefaultProjectBuildingRequest createProjectBuildingRequest()
throws MAEEmbeddingException
ProjectBuildingRequest to be used in building project instances from POM files or artifact
coordinates.
MAEEmbeddingException
org.apache.maven.project.DefaultProjectBuildingRequest createProjectBuildingRequest(org.apache.maven.project.ProjectBuildingRequest templateProjectBuildingRequest)
throws MAEEmbeddingException
ProjectBuildingRequest to be used in building project instances from POM files or artifact
coordinates.
MAEEmbeddingException
org.apache.maven.project.DefaultProjectBuildingRequest createProjectBuildingRequest(MAEExecutionRequest executionRequest)
throws MAEEmbeddingException
ProjectBuildingRequest to be used in building project instances from POM files or artifact
coordinates.
MAEEmbeddingException
org.apache.maven.project.DefaultProjectBuildingRequest createProjectBuildingRequest(org.apache.maven.execution.MavenExecutionRequest executionRequest)
throws MAEEmbeddingException
ProjectBuildingRequest to be used in building project instances from POM files or artifact
coordinates.
MAEEmbeddingException
org.apache.maven.repository.RepositorySystem mavenRepositorySystem()
throws MAEEmbeddingException
RepositorySystem component.
MAEEmbeddingException
org.sonatype.aether.RepositorySystem aetherRepositorySystem()
throws MAEEmbeddingException
RepositorySystem component.
MAEEmbeddingException
org.sonatype.aether.RepositorySystemSession createAetherRepositorySystemSession()
throws MAEEmbeddingException
RepositorySystemSession for resolving artifacts, using default configurations.
MAEEmbeddingException
org.sonatype.aether.RepositorySystemSession createAetherRepositorySystemSession(org.apache.maven.execution.MavenExecutionRequest request)
throws MAEEmbeddingException
RepositorySystemSession for resolving artifacts, based on the configuration of a
MavenExecutionRequest.
MAEEmbeddingException
<T> T service(Class<T> type)
throws MAEEmbeddingException
MAELibrary present in the current environment has granted
permission to lookup the component in question.
MAEEmbeddingException
<T> T service(Class<T> type,
String hint)
throws MAEEmbeddingException
MAELibrary present in the current environment has granted
permission to lookup the component in question.
MAEEmbeddingException
org.apache.maven.artifact.repository.ArtifactRepository defaultLocalRepository()
throws MAEEmbeddingException
ArtifactRepository instance configured for the default location of the Maven local
repository.
MAEEmbeddingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||