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