Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getLifecyclePhase (0.21 sec)

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

            phaseRecorder.observeExecution(mojoExecution1);
    
            assertTrue(ProjectDependencyGraphStub.A.hasLifecyclePhase(mojoExecution1.getLifecyclePhase()));
            assertFalse(ProjectDependencyGraphStub.A.hasLifecyclePhase(mojoExecution2.getLifecyclePhase()));
    
            assertFalse(phaseRecorder.isDifferentPhase(mojoExecution1));
            assertTrue(phaseRecorder.isDifferentPhase(mojoExecution2));
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseRecorder.java

        public PhaseRecorder(MavenProject project) {
            this.project = project;
        }
    
        public void observeExecution(MojoExecution mojoExecution) {
            String lifecyclePhase = mojoExecution.getLifecyclePhase();
    
            if (lifecyclePhase != null) {
                if (lastLifecyclePhase == null) {
                    lastLifecyclePhase = lifecyclePhase;
                } else if (!lifecyclePhase.equals(lastLifecyclePhase)) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ExecutionPlanItem.java

            }
            return result;
        }
    
        public MojoExecution getMojoExecution() {
            return mojoExecution;
        }
    
        public String getLifecyclePhase() {
            return mojoExecution.getLifecyclePhase();
        }
    
        public Plugin getPlugin() {
            final MojoDescriptor mojoDescriptor = getMojoExecution().getMojoDescriptor();
            return mojoDescriptor.getPluginDescriptor().getPlugin();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/MojoExecution.java

        PluginExecution getModel();
    
        @Nonnull
        MojoDescriptor getDescriptor();
    
        @Nonnull
        String getExecutionId();
    
        @Nonnull
        String getGoal();
    
        @Nonnull
        String getLifecyclePhase();
    
        @Nonnull
        Optional<XmlNode> getConfiguration();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

        }
    
        @Override
        public MojoDescriptor getDescriptor() {
            return delegate.getMojoDescriptor().getMojoDescriptorV4();
        }
    
        @Override
        public String getLifecyclePhase() {
            return delegate.getLifecyclePhase();
        }
    
        @Override
        public String getExecutionId() {
            return delegate.getExecutionId();
        }
    
        @Override
        public String getGoal() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

            Map<String, ExecutionPlanItem> lastInExistingPhases = new HashMap<>();
            for (ExecutionPlanItem executionPlanItem : getExecutionPlanItems()) {
                lastInExistingPhases.put(executionPlanItem.getLifecyclePhase(), executionPlanItem);
            }
    
            ExecutionPlanItem lastSeenExecutionPlanItem = null;
    
            for (String phase : totalPhaseSet) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/LifecyclePhaseNotFoundException.java

        }
    
        /**
         * Gets the lifecycle phase that was not found.
         *
         * @return The lifecycle phase that was not found, never {@code null}.
         */
        public String getLifecyclePhase() {
            return lifecyclePhase;
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/MojoExecution.java

            StringBuilder sb = new StringBuilder(256);
    
            sb.append(executionId);
            sb.append(configuration.toString());
    
            return sb.toString();
        }
    
        public String getLifecyclePhase() {
            return lifecyclePhase;
        }
    
        public void setLifecyclePhase(String lifecyclePhase) {
            this.lifecyclePhase = lifecyclePhase;
        }
    
        @Override
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 03 15:52:23 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/ReactorReader.java

            MavenProject project = event.getProject();
            switch (event.getType()) {
                case MojoStarted:
                    String phase = event.getMojoExecution().getLifecyclePhase();
                    if (phase != null) {
                        Deque<String> phases = getLifecycles(project);
                        if (!Objects.equals(phase, phases.peekLast())) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
Back to top