Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for allPhases (0.08 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

         */
        Collection<Phase> phases();
    
        /**
         * Stream of phases containing all child phases recursively.
         */
        default Stream<Phase> allPhases() {
            return phases().stream().flatMap(Phase::allPhases);
        }
    
        /**
         * Collection of aliases.
         */
        Collection<Alias> aliases();
    
        /**
         * Pre-ordered list of phases.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Sep 24 07:54:24 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

            return phases;
        }
    
        static Map<String, LifecyclePhase> getDefaultPhases(org.apache.maven.api.Lifecycle lifecycle) {
            Map<String, List<String>> goals = new HashMap<>();
            lifecycle.allPhases().forEach(phase -> phase.plugins()
                    .forEach(plugin -> plugin.getExecutions().forEach(exec -> exec.getGoals()
                            .forEach(goal -> goals.computeIfAbsent(phase.name(), n -> new ArrayList<>())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

            Graph graph = new Graph();
            lifecycle.phases().forEach(phase -> addPhase(graph, null, null, phase));
            List<String> allPhases = graph.visitAll();
            Collections.reverse(allPhases);
            List<String> computed =
                    allPhases.stream().filter(s -> !s.startsWith("$")).collect(Collectors.toList());
            List<String> given = lifecycle.orderedPhases().orElse(null);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java

            public List<Lifecycle.Phase> phases() {
                return phases;
            }
    
            @Override
            public Stream<Lifecycle.Phase> allPhases() {
                return Stream.concat(Stream.of(this), phases().stream().flatMap(Lifecycle.Phase::allPhases));
            }
        }
    
        static class DefaultAlias implements Lifecycle.Alias {
            private final String v3Phase;
            private final String v4Phase;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top