com.atlassian.bamboo.maven.embedder
Interface MavenEmbedderService

All Known Implementing Classes:
MavenEmbedderServiceImpl

public interface MavenEmbedderService


Method Summary
 org.apache.maven.model.building.ModelBuildingResult buildModel(java.io.File pomFile, MavenConfiguration configuration)
          Analyze POM file and build a Maven model.
 java.util.List<org.apache.maven.project.ProjectBuildingResult> buildProject(java.io.File pomFile, MavenConfiguration configuration)
          Recursively build a Maven project.
 

Method Detail

buildProject

@NotNull
java.util.List<org.apache.maven.project.ProjectBuildingResult> buildProject(@NotNull
                                                                                    java.io.File pomFile,
                                                                                    @NotNull
                                                                                    MavenConfiguration configuration)
                                                                            throws MavenEmbedderException
Recursively build a Maven project. All properties, parent POMs, dependencies and modules are being resolved during this process.

Parameters:
pomFile -
configuration -
Returns:
Throws:
MavenEmbedderException

buildModel

@NotNull
org.apache.maven.model.building.ModelBuildingResult buildModel(@NotNull
                                                                       java.io.File pomFile,
                                                                       @NotNull
                                                                       MavenConfiguration configuration)
                                                               throws MavenEmbedderException
Analyze POM file and build a Maven model. All properties and parent POMs are being resolved during this process.

Parameters:
pomFile -
configuration -
Returns:
Throws:
MavenEmbedderException


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.