com.atlassian.bamboo.maven.embedder
Class MavenEmbedderServiceImpl
java.lang.Object
com.atlassian.bamboo.maven.embedder.MavenEmbedderServiceImpl
- All Implemented Interfaces:
- MavenEmbedderService
public class MavenEmbedderServiceImpl
- extends Object
- implements MavenEmbedderService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MavenEmbedderServiceImpl
public MavenEmbedderServiceImpl()
buildProject
@NotNull
public List<org.apache.maven.project.ProjectBuildingResult> buildProject(@NotNull
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
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 © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.