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.util.ArrayList;
23 import java.util.List;
24
25 import org.apache.maven.artifact.repository.ArtifactRepository;
26 import org.apache.maven.model.Model;
27 import org.apache.maven.model.Repository;
28
29
30
31
32
33
34 public class EmptyProjectBuildingHelper
35 implements ProjectBuildingHelper
36 {
37
38 public List<ArtifactRepository> createArtifactRepositories( List<Repository> pomRepositories,
39 List<ArtifactRepository> externalRepositories,
40 ProjectBuildingRequest request )
41 {
42 if ( externalRepositories != null )
43 {
44 return externalRepositories;
45 }
46 else
47 {
48 return new ArrayList<ArtifactRepository>();
49 }
50 }
51
52 public ProjectRealmCache.CacheRecord createProjectRealm( MavenProject proejct,
53 Model model, ProjectBuildingRequest request )
54 {
55 return new ProjectRealmCache.CacheRecord( null, null );
56 }
57
58 public void selectProjectRealm( MavenProject project )
59 {
60 }
61
62 }