Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isDifferentPhase (0.27 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/PhaseRecorderTest.java

            assertFalse(ProjectDependencyGraphStub.A.hasLifecyclePhase(mojoExecution2.getLifecyclePhase()));
    
            assertFalse(phaseRecorder.isDifferentPhase(mojoExecution1));
            assertTrue(phaseRecorder.isDifferentPhase(mojoExecution2));
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseRecorder.java

                }
            }
    
            if (lastLifecyclePhase != null) {
                project.addLifecyclePhase(lastLifecyclePhase);
            }
        }
    
        public boolean isDifferentPhase(MojoExecution nextMojoExecution) {
            String lifecyclePhase = nextMojoExecution.getLifecyclePhase();
            if (lifecyclePhase == null) {
                return lastLifecyclePhase != null;
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top