Class MavenEmbedderServiceImpl
- java.lang.Object
-
- com.atlassian.bamboo.maven.embedder.MavenEmbedderServiceImpl
-
- All Implemented Interfaces:
MavenEmbedderService
public class MavenEmbedderServiceImpl extends Object implements MavenEmbedderService
-
-
Constructor Summary
Constructors Constructor Description MavenEmbedderServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull org.apache.maven.model.building.ModelBuildingResult
buildModel(@NotNull File pomFile, @NotNull MavenConfiguration configuration)
Analyze POM file and build a Maven model.@NotNull List<org.apache.maven.project.ProjectBuildingResult>
buildProject(@NotNull File pomFile, @NotNull MavenConfiguration configuration)
Recursively build a Maven project.
-
-
-
Method Detail
-
buildProject
@NotNull public @NotNull List<org.apache.maven.project.ProjectBuildingResult> buildProject(@NotNull @NotNull File pomFile, @NotNull @NotNull MavenConfiguration configuration) throws MavenEmbedderException
Description copied from interface:MavenEmbedderService
Recursively build a Maven project. All properties, parent POMs, dependencies and modules are being resolved during this process.- Specified by:
buildProject
in interfaceMavenEmbedderService
- Returns:
- Throws:
MavenEmbedderException
-
buildModel
@NotNull public @NotNull org.apache.maven.model.building.ModelBuildingResult buildModel(@NotNull @NotNull File pomFile, @NotNull @NotNull MavenConfiguration configuration) throws MavenEmbedderException
Description copied from interface:MavenEmbedderService
Analyze POM file and build a Maven model. All properties and parent POMs are being resolved during this process.- Specified by:
buildModel
in interfaceMavenEmbedderService
- Returns:
- Throws:
MavenEmbedderException
-
-