1 package org.apache.maven.plugin.assembly.archive.phase.wrappers;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import org.apache.maven.artifact.repository.ArtifactRepository;
23 import org.apache.maven.plugin.assembly.AssemblerConfigurationSource;
24 import org.apache.maven.project.MavenProject;
25 import org.apache.maven.shared.repository.RepositoryBuilderConfigSource;
26
27
28
29
30 public class RepoBuilderConfigSourceWrapper
31 implements RepositoryBuilderConfigSource
32 {
33
34 private final AssemblerConfigurationSource configSource;
35
36 public RepoBuilderConfigSourceWrapper( AssemblerConfigurationSource configSource )
37 {
38 this.configSource = configSource;
39 }
40
41 public ArtifactRepository getLocalRepository()
42 {
43 return configSource.getLocalRepository();
44 }
45
46 public MavenProject getProject()
47 {
48 return configSource.getProject();
49 }
50
51 }