1 package org.apache.maven.plugin.assembly.io;
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.plugin.MojoFailureException;
23 import org.apache.maven.plugin.assembly.AssemblerConfigurationSource;
24 import org.apache.maven.plugin.assembly.InvalidAssemblerConfigurationException;
25 import org.apache.maven.plugin.assembly.model.Assembly;
26
27 import java.io.File;
28 import java.util.List;
29
30
31
32
33 public interface AssemblyReader
34 {
35
36 List<Assembly> readAssemblies( AssemblerConfigurationSource configSource )
37 throws AssemblyReadException, InvalidAssemblerConfigurationException;
38
39 Assembly getAssemblyForDescriptorReference( String ref, AssemblerConfigurationSource configSource )
40 throws AssemblyReadException, InvalidAssemblerConfigurationException;
41
42 Assembly getAssemblyFromDescriptorFile( File file, AssemblerConfigurationSource configSource )
43 throws AssemblyReadException, InvalidAssemblerConfigurationException;
44
45 void includeSiteInAssembly( Assembly assembly, AssemblerConfigurationSource configSource )
46 throws MojoFailureException, InvalidAssemblerConfigurationException;
47
48 }