org.apache.maven.project
Class DefaultMavenProjectBuilder

java.lang.Object
  extended by org.apache.maven.project.DefaultMavenProjectBuilder
All Implemented Interfaces:
MavenProjectBuilder

Deprecated.

@Component(role=MavenProjectBuilder.class)
@Deprecated
public class DefaultMavenProjectBuilder
extends Object
implements MavenProjectBuilder


Constructor Summary
DefaultMavenProjectBuilder()
          Deprecated.  
 
Method Summary
 MavenProject build(File pom, ArtifactRepository localRepository, ProfileManager profileManager)
          Deprecated.  
 MavenProject build(File pom, ProjectBuilderConfiguration configuration)
          Deprecated.  
 MavenProject buildFromRepository(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository)
          Deprecated.  
 MavenProject buildFromRepository(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository, boolean allowStubModel)
          Deprecated.  
 MavenProject buildFromRepository(Artifact artifact, List<ArtifactRepository> remoteRepositories, ProjectBuilderConfiguration configuration, boolean allowStubModel)
          Deprecated.  
 MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository)
          Deprecated.  
 MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository, ProfileManager profileManager)
          Deprecated.  
 MavenProject buildStandaloneSuperProject(ProjectBuilderConfiguration configuration)
          Deprecated. This is used for pom-less execution like running archetype:generate.
 MavenProject buildWithDependencies(File pom, ArtifactRepository localRepository, ProfileManager profileManager)
          Deprecated.  
 MavenProject buildWithDependencies(File pom, ArtifactRepository localRepository, ProfileManager profileManager, org.apache.maven.wagon.events.TransferListener transferListener)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMavenProjectBuilder

public DefaultMavenProjectBuilder()
Deprecated. 
Method Detail

build

public MavenProject build(File pom,
                          ProjectBuilderConfiguration configuration)
                   throws ProjectBuildingException
Deprecated. 
Specified by:
build in interface MavenProjectBuilder
Throws:
ProjectBuildingException

build

public MavenProject build(File pom,
                          ArtifactRepository localRepository,
                          ProfileManager profileManager)
                   throws ProjectBuildingException
Deprecated. 
Specified by:
build in interface MavenProjectBuilder
Throws:
ProjectBuildingException

buildFromRepository

public MavenProject buildFromRepository(Artifact artifact,
                                        List<ArtifactRepository> remoteRepositories,
                                        ProjectBuilderConfiguration configuration,
                                        boolean allowStubModel)
                                 throws ProjectBuildingException
Deprecated. 
Throws:
ProjectBuildingException

buildFromRepository

public MavenProject buildFromRepository(Artifact artifact,
                                        List<ArtifactRepository> remoteRepositories,
                                        ArtifactRepository localRepository,
                                        boolean allowStubModel)
                                 throws ProjectBuildingException
Deprecated. 
Specified by:
buildFromRepository in interface MavenProjectBuilder
Throws:
ProjectBuildingException

buildFromRepository

public MavenProject buildFromRepository(Artifact artifact,
                                        List<ArtifactRepository> remoteRepositories,
                                        ArtifactRepository localRepository)
                                 throws ProjectBuildingException
Deprecated. 
Specified by:
buildFromRepository in interface MavenProjectBuilder
Throws:
ProjectBuildingException

buildStandaloneSuperProject

public MavenProject buildStandaloneSuperProject(ProjectBuilderConfiguration configuration)
                                         throws ProjectBuildingException
Deprecated. 
This is used for pom-less execution like running archetype:generate. I am taking out the profile handling and the interpolation of the base directory until we spec this out properly.

Specified by:
buildStandaloneSuperProject in interface MavenProjectBuilder
Throws:
ProjectBuildingException

buildStandaloneSuperProject

public MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository)
                                         throws ProjectBuildingException
Deprecated. 
Specified by:
buildStandaloneSuperProject in interface MavenProjectBuilder
Throws:
ProjectBuildingException

buildStandaloneSuperProject

public MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository,
                                                ProfileManager profileManager)
                                         throws ProjectBuildingException
Deprecated. 
Specified by:
buildStandaloneSuperProject in interface MavenProjectBuilder
Throws:
ProjectBuildingException

buildWithDependencies

public MavenProject buildWithDependencies(File pom,
                                          ArtifactRepository localRepository,
                                          ProfileManager profileManager,
                                          org.apache.maven.wagon.events.TransferListener transferListener)
                                   throws ProjectBuildingException,
                                          ArtifactResolutionException,
                                          ArtifactNotFoundException
Deprecated. 
Specified by:
buildWithDependencies in interface MavenProjectBuilder
Throws:
ProjectBuildingException
ArtifactResolutionException
ArtifactNotFoundException

buildWithDependencies

public MavenProject buildWithDependencies(File pom,
                                          ArtifactRepository localRepository,
                                          ProfileManager profileManager)
                                   throws ProjectBuildingException,
                                          ArtifactResolutionException,
                                          ArtifactNotFoundException
Deprecated. 
Specified by:
buildWithDependencies in interface MavenProjectBuilder
Throws:
ProjectBuildingException
ArtifactResolutionException
ArtifactNotFoundException


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.