1 package org.apache.maven.execution;
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.monitor.event.EventDispatcher;
24 import org.apache.maven.monitor.event.EventMonitor;
25 import org.apache.maven.profiles.ProfileManager;
26 import org.apache.maven.settings.Settings;
27
28 import java.util.Date;
29 import java.util.List;
30 import java.util.Properties;
31
32
33
34
35
36 public interface MavenExecutionRequest
37 {
38 ArtifactRepository getLocalRepository();
39
40 List getGoals();
41
42 void setSession( MavenSession session );
43
44 MavenSession getSession();
45
46 void addEventMonitor( EventMonitor monitor );
47
48 EventDispatcher getEventDispatcher();
49
50 Settings getSettings();
51
52 String getBaseDirectory();
53
54 void setRecursive( boolean recursive );
55
56 boolean isRecursive();
57
58 void setReactorActive( boolean reactorActive );
59
60 boolean isReactorActive();
61
62 void setPomFile( String pomFile );
63
64 String getPomFile();
65
66 void setFailureBehavior( String failureBehavior );
67
68 String getFailureBehavior();
69
70 ProfileManager getGlobalProfileManager();
71
72 Properties getExecutionProperties();
73
74 Properties getUserProperties();
75
76 Date getStartTime();
77
78 boolean isShowErrors();
79 }