Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for computePhases (0.07 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                    public Optional<Lifecycle> lookup(String id) {
                        return Optional.empty();
                    }
    
                    @Override
                    public List<String> computePhases(Lifecycle lifecycle) {
                        return List.of();
                    }
                };
            }
    
            @Provides
            @SuppressWarnings("unused")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

        }
    
        @Override
        public Optional<Lifecycle> lookup(String id) {
            return stream().filter(lf -> Objects.equals(id, lf.id())).findAny();
        }
    
        public List<String> computePhases(Lifecycle lifecycle) {
            Graph graph = new Graph();
            lifecycle.phases().forEach(phase -> addPhase(graph, null, null, phase));
            List<String> allPhases = graph.visitAll();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top