1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.maven.project;
20
21 import java.io.File;
22 import java.util.List;
23
24 import org.apache.maven.artifact.Artifact;
25 import org.apache.maven.artifact.repository.ArtifactRepository;
26 import org.apache.maven.artifact.resolver.ArtifactNotFoundException;
27 import org.apache.maven.artifact.resolver.ArtifactResolutionException;
28 import org.apache.maven.profiles.ProfileManager;
29 import org.apache.maven.wagon.events.TransferListener;
30
31
32
33
34 @Deprecated
35 public interface MavenProjectBuilder {
36
37 MavenProject build(File pom, ProjectBuilderConfiguration configuration) throws ProjectBuildingException;
38
39
40
41 MavenProject build(File pom, ArtifactRepository localRepository, ProfileManager profileManager)
42 throws ProjectBuildingException;
43
44
45 MavenProject buildFromRepository(
46 Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository)
47 throws ProjectBuildingException;
48
49
50 MavenProject buildFromRepository(
51 Artifact artifact,
52 List<ArtifactRepository> remoteRepositories,
53 ArtifactRepository localRepository,
54 boolean allowStubModel)
55 throws ProjectBuildingException;
56
57
58
59
60 MavenProject buildStandaloneSuperProject(ProjectBuilderConfiguration configuration) throws ProjectBuildingException;
61
62 MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository) throws ProjectBuildingException;
63
64 MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository, ProfileManager profileManager)
65 throws ProjectBuildingException;
66
67 MavenProject buildWithDependencies(
68 File pom,
69 ArtifactRepository localRepository,
70 ProfileManager globalProfileManager,
71 TransferListener transferListener)
72 throws ProjectBuildingException, ArtifactResolutionException, ArtifactNotFoundException;
73
74 MavenProject buildWithDependencies(
75 File pom, ArtifactRepository localRepository, ProfileManager globalProfileManager)
76 throws ProjectBuildingException, ArtifactResolutionException, ArtifactNotFoundException;
77 }