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 import org.apache.maven.artifact.Artifact;
24 import org.apache.maven.artifact.repository.ArtifactRepository;
25 import org.apache.maven.artifact.resolver.ArtifactNotFoundException;
26 import org.apache.maven.artifact.resolver.ArtifactResolutionException;
27 import org.apache.maven.profiles.ProfileManager;
28 import org.apache.maven.wagon.events.TransferListener;
29
30
31
32
33 @Deprecated
34 public interface MavenProjectBuilder {
35
36 MavenProject build(File pom, ProjectBuilderConfiguration configuration) throws ProjectBuildingException;
37
38
39
40 MavenProject build(File pom, ArtifactRepository localRepository, ProfileManager profileManager)
41 throws ProjectBuildingException;
42
43
44 MavenProject buildFromRepository(
45 Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository)
46 throws ProjectBuildingException;
47
48
49 MavenProject buildFromRepository(
50 Artifact artifact,
51 List<ArtifactRepository> remoteRepositories,
52 ArtifactRepository localRepository,
53 boolean allowStubModel)
54 throws ProjectBuildingException;
55
56
57
58
59 MavenProject buildStandaloneSuperProject(ProjectBuilderConfiguration configuration) throws ProjectBuildingException;
60
61 MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository) throws ProjectBuildingException;
62
63 MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository, ProfileManager profileManager)
64 throws ProjectBuildingException;
65
66 MavenProject buildWithDependencies(
67 File pom,
68 ArtifactRepository localRepository,
69 ProfileManager globalProfileManager,
70 TransferListener transferListener)
71 throws ProjectBuildingException, ArtifactResolutionException, ArtifactNotFoundException;
72
73 MavenProject buildWithDependencies(
74 File pom, ArtifactRepository localRepository, ProfileManager globalProfileManager)
75 throws ProjectBuildingException, ArtifactResolutionException, ArtifactNotFoundException;
76 }