|
24 | 24 | import java.util.concurrent.ConcurrentHashMap; |
25 | 25 | import java.util.concurrent.ConcurrentMap; |
26 | 26 | import java.util.stream.Collectors; |
27 | | - |
28 | 27 | import javax.annotation.Nonnull; |
29 | 28 | import javax.annotation.PostConstruct; |
30 | 29 | import javax.inject.Inject; |
31 | 30 | import javax.inject.Named; |
32 | | - |
33 | 31 | import org.apache.maven.SessionScoped; |
34 | 32 | import org.apache.maven.buildcache.xml.Build; |
35 | 33 | import org.apache.maven.execution.AbstractExecutionListener; |
@@ -59,8 +57,8 @@ public class LifecyclePhasesHelper extends AbstractExecutionListener |
59 | 57 |
|
60 | 58 | @Inject |
61 | 59 | public LifecyclePhasesHelper( MavenSession session, |
62 | | - DefaultLifecycles defaultLifecycles, |
63 | | - @Named( "clean" ) Lifecycle cleanLifecycle ) |
| 60 | + DefaultLifecycles defaultLifecycles, |
| 61 | + @Named( "clean" ) Lifecycle cleanLifecycle ) |
64 | 62 | { |
65 | 63 | this.session = session; |
66 | 64 | this.defaultLifecycles = Objects.requireNonNull( defaultLifecycles ); |
@@ -162,9 +160,9 @@ public List<MojoExecution> getCleanSegment( MavenProject project, List<MojoExecu |
162 | 160 | /** |
163 | 161 | * Resolves lifecycle phase of a given mojo forks aware |
164 | 162 | * |
165 | | - * @param project - project context |
166 | | - * @param mojoExecution - mojo to resolve lifecycle for |
167 | | - * @return phase |
| 163 | + * @param project - project context |
| 164 | + * @param mojoExecution - mojo to resolve lifecycle for |
| 165 | + * @return phase |
168 | 166 | */ |
169 | 167 | private String resolveMojoExecutionLifecyclePhase( MavenProject project, MojoExecution mojoExecution ) |
170 | 168 | { |
@@ -217,7 +215,7 @@ public List<MojoExecution> getCachedSegment( MavenProject project, List<MojoExec |
217 | 215 | * Computes the list of mojos executions that will have to be executed after cache restoration. |
218 | 216 | */ |
219 | 217 | public List<MojoExecution> getPostCachedSegment( MavenProject project, List<MojoExecution> mojoExecutions, |
220 | | - Build build ) |
| 218 | + Build build ) |
221 | 219 | { |
222 | 220 | List<MojoExecution> list = new ArrayList<>( mojoExecutions.size() ); |
223 | 221 | for ( MojoExecution mojoExecution : mojoExecutions ) |
|
0 commit comments