1 | |
package org.apache.maven.archetype.ui; |
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.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 | |
String ROLE = ArchetypeCreationConfigurator.class.getName(); |
37 | |
|
38 | |
Properties configureArchetypeCreation( MavenProject project, Boolean interactiveMode, |
39 | |
Properties commandLineProperties, File propertyFile, List<String> languages ) |
40 | |
throws FileNotFoundException, IOException, ArchetypeNotDefined, ArchetypeNotConfigured, PrompterException, |
41 | |
TemplateCreationException; |
42 | |
} |