Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 215 for phases (0.06 sec)

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

            Collection<Link> links();
    
            /**
             * {@return the list of sub-phases}
             */
            @Nonnull
            List<Phase> phases();
    
            @Nonnull
            Stream<Phase> allPhases();
        }
    
        /**
         * A phase alias, mostly used to support the Maven 3 phases which are mapped
         * to dynamic phases in Maven 4.
         */
        interface Alias {
            String v3Phase();
    
    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. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Lifecycle.java

         */
        public java.util.List<Phase> getPhases() {
            if (this.phases == null) {
                this.phases = new java.util.ArrayList<Phase>();
            }
    
            return this.phases;
        } // -- java.util.List<Phase> getPhases()
    
        /**
         * Method removePhase.
         *
         * @param phase a phase object.
         */
        public void removePhase(Phase phase) {
            getPhases().remove(phase);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

            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>
        //   <id>clean</id>
        //   <phases>
        //     <phase>pre-clean</phase>
        //     <phase>clean</phase>
        //     <phase>post-clean</phase>
    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-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java

        }
    
        static Lifecycle.Phase phase(String name, Lifecycle.Link link1, Lifecycle.Link link2, Lifecycle.Phase... phases) {
            return new DefaultPhase(name, Collections.emptyList(), asList(link1, link2), asList(phases));
        }
    
        static Lifecycle.Phase phase(
                String name, Lifecycle.Link link1, Lifecycle.Link link2, Lifecycle.Link link3, Lifecycle.Phase... phases) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

    import static org.apache.maven.api.Lifecycle.Phase.RESOURCES;
    import static org.apache.maven.api.Lifecycle.Phase.SOURCES;
    import static org.apache.maven.api.Lifecycle.Phase.TEST;
    import static org.apache.maven.api.Lifecycle.Phase.TEST_COMPILE;
    import static org.apache.maven.api.Lifecycle.Phase.TEST_RESOURCES;
    import static org.apache.maven.api.Lifecycle.Phase.TEST_SOURCES;
    import static org.apache.maven.api.Lifecycle.Phase.UNIT_TEST;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. impl/maven-core/lifecycle-executor.txt

    We have a lifecycle mapping for the packaging of *jar* below. You see that for this packaging we have a *default* lifecycle and a list of phases where each phase is a comma separated list of goals to run and they are in the form groupId:artifactId:version.
    
    <configuration>
      <lifecycles>
        <lifecycle>
          <id>default</id>
          <phases>
            <process-resources>org.apache.maven.plugins:maven-resources-plugin:resources</process-resources>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. impl/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:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/BaseMavenParser.java

                O options = parseArgs("maven.config", args);
                if (options.goals().isPresent()) {
                    // This file can only contain options, not args (goals or phases)
                    throw new ParserException("Unrecognized maven.config file entries: "
                            + options.goals().get());
                }
                return options;
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. impl/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.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java

         */
        @Nonnull
        Optional<Boolean> ignoreTransitiveRepositories();
    
        /**
         * Returns the list of goals and phases to execute.
         *
         * @return an {@link Optional} containing the list of goals and phases to execute, or empty if not specified
         */
        @Nonnull
        Optional<List<String>> goals();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top