- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for observeExecution (0.29 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/PhaseRecorderTest.java
final List<MojoExecution> executions = plan.getMojoExecutions(); final MojoExecution mojoExecution1 = executions.get(0); final MojoExecution mojoExecution2 = executions.get(1); phaseRecorder.observeExecution(mojoExecution1); assertTrue(ProjectDependencyGraphStub.A.hasLifecyclePhase(mojoExecution1.getLifecyclePhase())); assertFalse(ProjectDependencyGraphStub.A.hasLifecyclePhase(mojoExecution2.getLifecyclePhase()));
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseRecorder.java
private String lastLifecyclePhase; private final MavenProject project; public PhaseRecorder(MavenProject project) { this.project = project; } public void observeExecution(MojoExecution mojoExecution) { String lifecyclePhase = mojoExecution.getLifecyclePhase(); if (lifecyclePhase != null) { PhaseId phaseId = PhaseId.of(lifecyclePhase);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.2K bytes - Click Count (0)