Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for phase (0.16 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

            /*
             * Initialize mapping from lifecycle phase to bound mojos. The key set of this map denotes the phases the caller
             * is interested in, i.e. all phases up to and including the specified phase.
             */
    
            Map<String, Map<Integer, List<MojoExecution>>> mappings = new LinkedHashMap<>();
    
            for (String phase : lifecycle.getPhases()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

        }
    
        /**
         * Get lifecycle based on phase
         *
         * @param phase
         * @return
         */
        public Lifecycle get(String phase) {
            return getPhaseToLifecycleMap().get(phase);
        }
    
        /**
         * We use this to map all phases to the lifecycle that contains it. This is used so that a user can specify the
         * phase they want to execute and we can easily determine what lifecycle we need to run.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java

    public class Lifecycles {
    
        static Lifecycle.Phase phase(String name) {
            return new DefaultPhase(name, Collections.emptyList(), Collections.emptyList());
        }
    
        static Lifecycle.Phase phase(String name, Plugin plugin) {
            return new DefaultPhase(name, Collections.singletonList(plugin), Collections.emptyList());
        }
    
        static Plugin plugin(String coord, String phase) {
            String[] c = coord.split(":");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

            this.id = lifecycle.id();
            this.phases = registry.computePhases(lifecycle);
            this.defaultPhases = getDefaultPhases(lifecycle);
        }
    
        // <lifecycle>
        //   <id>clean</id>
        //   <phases>
        //     <phase>pre-clean</phase>
        //     <phase>clean</phase>
        //     <phase>post-clean</phase>
        //   </phases>
        //   <default-phases>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

            return getExecutionPlanItems().iterator();
        }
    
        /**
         * Returns the last ExecutionPlanItem in the supplied phase. If no items are in the specified phase,
         * the closest executionPlanItem from an earlier phase item will be returned.
         *
         * @param requestedPhase the requested phase
         *                       The execution plan item
         * @return The ExecutionPlanItem or null if none can be found
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

        /**
         * Collection of phases for this lifecycle
         */
        Collection<Phase> phases();
    
        /**
         * Pre-ordered list of phases.
         * If not provided, a default order will be computed.
         */
        default Optional<List<String>> orderedPhases() {
            return Optional.empty();
        }
    
        /**
         * A phase in the lifecycle.
         */
        interface Phase {
            String name();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                        Deque<String> phases = getLifecycles(project);
                        if (!Objects.equals(phase, phases.peekLast())) {
                            phases.addLast(phase);
                            if ("clean".equals(phase)) {
                                cleanProjectLocalRepository(project);
                            }
                        }
                    }
                    break;
                case ProjectSucceeded:
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/LifecyclePhaseNotFoundException.java

         */
        public LifecyclePhaseNotFoundException(String message, String lifecyclePhase) {
            super(message);
            this.lifecyclePhase = (lifecyclePhase != null) ? lifecyclePhase : "";
        }
    
        /**
         * Gets the lifecycle phase that was not found.
         *
         * @return The lifecycle phase that was not found, never {@code null}.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Execute.java

    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.TYPE)
    @Inherited
    public @interface Execute {
        /**
         * Lifecycle phase to fork. Note that specifying a phase overrides specifying a goal.
         * @return the phase
         */
        @Nonnull
        String phase() default "";
    
        /**
         * Goal to fork. Note that specifying a phase overrides specifying a goal. The specified <code>goal</code> must be
         * another goal of the same plugin.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                        String phase = goalsForLifecyclePhase.getKey();
                        LifecyclePhase goals = goalsForLifecyclePhase.getValue();
                        if (goals != null) {
                            parseLifecyclePhaseDefinitions(plugins, phase, goals);
                        }
                    }
                }
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top