1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.maven.lifecycle.internal;
20
21 import java.util.List;
22 import org.apache.maven.execution.MavenSession;
23 import org.apache.maven.lifecycle.LifecycleNotFoundException;
24 import org.apache.maven.lifecycle.LifecyclePhaseNotFoundException;
25 import org.apache.maven.plugin.InvalidPluginDescriptorException;
26 import org.apache.maven.plugin.MojoNotFoundException;
27 import org.apache.maven.plugin.PluginDescriptorParsingException;
28 import org.apache.maven.plugin.PluginNotFoundException;
29 import org.apache.maven.plugin.PluginResolutionException;
30 import org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException;
31 import org.apache.maven.plugin.version.PluginVersionResolutionException;
32
33
34
35
36
37
38
39
40
41
42
43
44
45 public interface LifecycleTaskSegmentCalculator {
46 List<TaskSegment> calculateTaskSegments(MavenSession session)
47 throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException,
48 MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException,
49 PluginVersionResolutionException, LifecyclePhaseNotFoundException, LifecycleNotFoundException;
50
51 List<TaskSegment> calculateTaskSegments(MavenSession session, List<String> tasks)
52 throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException,
53 MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException,
54 PluginVersionResolutionException;
55
56 boolean requiresProject(MavenSession session);
57 }