org.apache.maven.project

Interface MavenProjectBuilder

public interface MavenProjectBuilder

Field Summary
StringROLE
StringSTANDALONE_SUPERPOM_ARTIFACTID
StringSTANDALONE_SUPERPOM_GROUPID
StringSTANDALONE_SUPERPOM_VERSION
Method Summary
MavenProjectbuild(File project, ArtifactRepository localRepository, ProfileManager globalProfileManager)
MavenProjectbuild(File project, ArtifactRepository localRepository, ProfileManager globalProfileManager, boolean checkDistributionManagementStatus)
MavenProjectbuildFromRepository(Artifact artifact, List remoteArtifactRepositories, ArtifactRepository localRepository)
Build the artifact from the local repository, resolving it if necessary.
MavenProjectbuildFromRepository(Artifact artifact, List remoteArtifactRepositories, ArtifactRepository localRepository, boolean allowStubModel)
Build the artifact from the local repository, resolving it if necessary.
MavenProjectbuildStandaloneSuperProject(ArtifactRepository localRepository)
MavenProjectbuildWithDependencies(File project, ArtifactRepository localRepository, ProfileManager globalProfileManager, TransferListener transferListener)
MavenProjectbuildWithDependencies(File project, ArtifactRepository localRepository, ProfileManager globalProfileManager)

Field Detail

ROLE

public String ROLE

STANDALONE_SUPERPOM_ARTIFACTID

public String STANDALONE_SUPERPOM_ARTIFACTID

STANDALONE_SUPERPOM_GROUPID

public String STANDALONE_SUPERPOM_GROUPID

STANDALONE_SUPERPOM_VERSION

public String STANDALONE_SUPERPOM_VERSION

Method Detail

build

public MavenProject build(File project, ArtifactRepository localRepository, ProfileManager globalProfileManager)

build

public MavenProject build(File project, ArtifactRepository localRepository, ProfileManager globalProfileManager, boolean checkDistributionManagementStatus)

buildFromRepository

public MavenProject buildFromRepository(Artifact artifact, List remoteArtifactRepositories, ArtifactRepository localRepository)
Build the artifact from the local repository, resolving it if necessary.

Parameters: artifact the artifact description localRepository the local repository remoteArtifactRepositories the remote repository list

Returns: the built project

Throws: ProjectBuildingException

buildFromRepository

public MavenProject buildFromRepository(Artifact artifact, List remoteArtifactRepositories, ArtifactRepository localRepository, boolean allowStubModel)
Build the artifact from the local repository, resolving it if necessary.

Parameters: artifact the artifact description localRepository the local repository remoteArtifactRepositories the remote repository list allowStubModel return a stub if the POM is not found

Returns: the built project

Throws: ProjectBuildingException

buildStandaloneSuperProject

public MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository)

buildWithDependencies

public MavenProject buildWithDependencies(File project, ArtifactRepository localRepository, ProfileManager globalProfileManager, TransferListener transferListener)

buildWithDependencies

public MavenProject buildWithDependencies(File project, ArtifactRepository localRepository, ProfileManager globalProfileManager)
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.