com.atlassian.bamboo.maven.embedder
Class MavenEmbedderServiceImpl

java.lang.Object
  extended by com.atlassian.bamboo.maven.embedder.MavenEmbedderServiceImpl
All Implemented Interfaces:
MavenEmbedderService

public class MavenEmbedderServiceImpl
extends java.lang.Object
implements MavenEmbedderService


Constructor Summary
MavenEmbedderServiceImpl()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenEmbedderServiceImpl

public MavenEmbedderServiceImpl()
Method Detail

buildProject

@NotNull
public java.util.List<org.apache.maven.project.ProjectBuildingResult> buildProject(@NotNull
                                                                                           java.io.File pomFile,
                                                                                           @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 interface MavenEmbedderService
Returns:
Throws:
MavenEmbedderException

buildModel

@NotNull
public org.apache.maven.model.building.ModelBuildingResult buildModel(@NotNull
                                                                              java.io.File pomFile,
                                                                              @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 interface MavenEmbedderService
Returns:
Throws:
MavenEmbedderException


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