- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for observeExecution (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java
DependencyContext dependencyContext, PhaseRecorder phaseRecorder) throws LifecycleExecutionException { execute(session, mojoExecution, dependencyContext); phaseRecorder.observeExecution(mojoExecution); } private void execute(MavenSession session, MojoExecution mojoExecution, DependencyContext dependencyContext) throws LifecycleExecutionException {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jun 12 14:55:55 GMT 2025 - 21K bytes - Click Count (0)