1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
|
20 | |
package org.apache.maven.archetype.ui; |
21 | |
|
22 | |
import org.apache.maven.archetype.exception.ArchetypeNotConfigured; |
23 | |
import org.apache.maven.archetype.exception.ArchetypeNotDefined; |
24 | |
import org.apache.maven.archetype.exception.TemplateCreationException; |
25 | |
import org.apache.maven.project.MavenProject; |
26 | |
import org.codehaus.plexus.components.interactivity.PrompterException; |
27 | |
|
28 | |
import java.io.File; |
29 | |
import java.io.FileNotFoundException; |
30 | |
import java.io.IOException; |
31 | |
import java.util.List; |
32 | |
import java.util.Properties; |
33 | |
|
34 | |
public interface ArchetypeCreationConfigurator |
35 | |
{ |
36 | 0 | String ROLE = ArchetypeCreationConfigurator.class.getName(); |
37 | |
|
38 | |
Properties configureArchetypeCreation( |
39 | |
MavenProject project, |
40 | |
Boolean interactiveMode, |
41 | |
Properties commandLineProperties, |
42 | |
File propertyFile, |
43 | |
List languages |
44 | |
) |
45 | |
throws |
46 | |
FileNotFoundException, |
47 | |
IOException, |
48 | |
ArchetypeNotDefined, |
49 | |
ArchetypeNotConfigured, |
50 | |
PrompterException, |
51 | |
TemplateCreationException; |
52 | |
} |