- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for observeExecution (0.05 sec)
-
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()));
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (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);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0)