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 @Deprecated
33 public interface MavenProjectBuilder
34 {
35
36 MavenProject build( File pom, ProjectBuilderConfiguration configuration )
37 throws ProjectBuildingException;
38
39
40 MavenProject build( File pom, ArtifactRepository localRepository, ProfileManager profileManager )
41 throws ProjectBuildingException;
42
43
44 MavenProject buildFromRepository( Artifact artifact, List<ArtifactRepository> remoteRepositories,
45 ArtifactRepository localRepository )
46 throws ProjectBuildingException;
47
48
49 MavenProject buildFromRepository( Artifact artifact, List<ArtifactRepository> remoteRepositories,
50 ArtifactRepository localRepository, boolean allowStubModel )
51 throws ProjectBuildingException;
52
53
54
55
56 MavenProject buildStandaloneSuperProject( ProjectBuilderConfiguration configuration )
57 throws ProjectBuildingException;
58
59 MavenProject buildStandaloneSuperProject( ArtifactRepository localRepository )
60 throws ProjectBuildingException;
61
62 MavenProject buildStandaloneSuperProject( ArtifactRepository localRepository, ProfileManager profileManager )
63 throws ProjectBuildingException;
64
65 MavenProject buildWithDependencies( File pom, ArtifactRepository localRepository,
66 ProfileManager globalProfileManager, TransferListener transferListener )
67 throws ProjectBuildingException, ArtifactResolutionException, ArtifactNotFoundException;
68
69 MavenProject buildWithDependencies( File pom, ArtifactRepository localRepository,
70 ProfileManager globalProfileManager )
71 throws ProjectBuildingException, ArtifactResolutionException, ArtifactNotFoundException;
72
73 }