Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for computePhases (0.09 sec)

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

    public interface LifecycleRegistry extends ExtensibleEnumRegistry<Lifecycle>, Iterable<Lifecycle> {
    
        default Stream<Lifecycle> stream() {
            return StreamSupport.stream(spliterator(), false);
        }
    
        List<String> computePhases(Lifecycle lifecycle);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 29 05:48:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

            }
    
            @Override
            public Optional<Lifecycle> lookup(String id) {
                return Optional.empty();
            }
    
            @Override
            public List<String> computePhases(Lifecycle lifecycle) {
                return List.of();
            }
        };
    
        private static final PackagingRegistry emptyPackagingRegistry = new PackagingRegistry() {
            @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

                org.apache.maven.api.services.LifecycleRegistry registry, org.apache.maven.api.Lifecycle lifecycle) {
            this.lifecycle = lifecycle;
            this.id = lifecycle.id();
            this.phases = registry.computePhases(lifecycle).stream()
                    .flatMap(p -> Stream.of(BEFORE + p, p, AFTER + p))
                    .toList();
            this.defaultPhases = getDefaultPhases(lifecycle);
        }
    
        // <lifecycle>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. 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)
  5. 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