1 package org.apache.maven.plugin.assembly;
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.archiver.MavenArchiveConfiguration;
23 import org.apache.maven.artifact.repository.ArtifactRepository;
24 import org.apache.maven.execution.MavenSession;
25 import org.apache.maven.project.MavenProject;
26 import org.apache.maven.shared.filtering.MavenReaderFilter;
27 import org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator;
28
29 import javax.annotation.Nonnull;
30 import java.io.File;
31 import java.util.List;
32
33
34
35
36 public interface AssemblerConfigurationSource
37 {
38
39
40
41
42 String getDescriptor();
43
44
45
46
47 String getDescriptorId();
48
49
50
51
52 String[] getDescriptors();
53
54
55
56
57 String[] getDescriptorReferences();
58
59
60
61
62 File getDescriptorSourceDirectory();
63
64
65
66
67 File getBasedir();
68
69
70
71
72 MavenProject getProject();
73
74
75
76
77 boolean isSiteIncluded();
78
79
80
81
82 File getSiteDirectory();
83
84
85
86
87 String getFinalName();
88
89
90
91
92 boolean isAssemblyIdAppended();
93
94
95
96
97 String getClassifier();
98
99
100
101
102 String getTarLongFileMode();
103
104
105
106
107 File getOutputDirectory();
108
109
110
111
112 File getWorkingDirectory();
113
114
115
116
117 MavenArchiveConfiguration getJarArchiveConfiguration();
118
119
120
121
122 ArtifactRepository getLocalRepository();
123
124
125
126
127 File getTemporaryRootDirectory();
128
129
130
131
132 File getArchiveBaseDirectory();
133
134
135
136
137 List<String> getFilters();
138
139
140
141
142 boolean isIncludeProjectBuildFilters();
143
144
145
146
147 List<MavenProject> getReactorProjects();
148
149
150
151
152 List<ArtifactRepository> getRemoteRepositories();
153
154
155
156
157 boolean isDryRun();
158
159
160
161
162 boolean isIgnoreDirFormatExtensions();
163
164
165
166
167 boolean isIgnoreMissingDescriptor();
168
169
170
171
172 MavenSession getMavenSession();
173
174
175
176
177 String getArchiverConfig();
178
179
180
181
182
183
184 MavenReaderFilter getMavenReaderFilter();
185
186
187
188
189 boolean isUpdateOnly();
190
191
192
193
194 boolean isUseJvmChmod();
195
196
197
198
199 boolean isIgnorePermissions();
200
201
202
203
204 String getEncoding();
205
206
207
208
209 String getEscapeString();
210
211
212
213
214 List<String> getDelimiters();
215
216 @Nonnull
217 FixedStringSearchInterpolator getRepositoryInterpolator();
218
219
220
221
222 @Nonnull
223 FixedStringSearchInterpolator getCommandLinePropsInterpolator();
224
225
226
227
228 @Nonnull
229 FixedStringSearchInterpolator getEnvInterpolator();
230
231 @Nonnull
232 FixedStringSearchInterpolator getMainProjectInterpolator();
233 }