Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for computePhases (0.08 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)
Back to top