Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 444 for phases (0.84 sec)

  1. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/LifecycleProvider.java

     * <p>
     * This interface allows plugins and extensions to define and register additional build lifecycles
     * beyond the standard ones provided by Maven (like clean, default, site). Lifecycles define a sequence
     * of phases that can be executed during a build.
     * <p>
     * Implementations of this interface will be discovered through the Java ServiceLoader mechanism
     * and their provided lifecycles will be available throughout the Maven build process.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/builtin/BuiltinShellCommandRegistryFactory.java

                    List<String> phases = shellContext.lookup.lookup(LifecycleRegistry.class).stream()
                            .flatMap(Lifecycle::allPhases)
                            .map(Lifecycle.Phase::name)
                            .toList();
                    // TODO: add goals dynamically
                    List<String> goals = List.of("wrapper:wrapper");
                    names = Stream.concat(phases.stream(), goals.stream()).toList();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         *   </li>
         *   <li>All attached artifacts in the order they were attached</li>
         * </ul>
         * The contents depend on the current lifecycle phase when this method is called, as artifacts
         * are typically attached during specific phases (e.g., sources jar during package phase).
         *
         * @param project the project to get artifacts for
         * @return an immutable ordered collection of all project artifacts
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenParser.java

                MavenOptions options = parseArgs("maven.config", args);
                if (options.goals().isPresent()) {
                    // This file can only contain options, not args (goals or phases)
                    throw new IllegalArgumentException("Unrecognized entries in maven.config (" + configFile + ") file: "
                            + options.goals().get());
                }
                return options;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 14 12:35:44 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/DefaultLifecyclesStub.java

                    TEST.getPhase(),
                    PROCESS_TEST_RESOURCES.getPhase(),
                    PACKAGE.getPhase(),
                    "BEER",
                    INSTALL.getPhase());
    
            // The two phases below are really for future expansion, some would say they lack a drink
            // The point being that they do not really have to match the "real" stuff,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Event.java

     */
    package org.apache.maven.api;
    
    import java.util.Optional;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Event sent by maven during various phases of the build process.
     * Such events can be listened to using {@link Listener}s objects
     * registered in the {@link Session}.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Event {
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java

         * present, are appended, to those specified on CLI input, if any.
         */
        Optional<String> atFile();
    
        /**
         * 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java

            for (String task : tasks) {
                if (isBeforeOrAfterPhase(task)) {
                    String prevTask = task;
                    task = PhaseId.of(task).phase();
                    logger.warn("Illegal call to phase '{}'. The main phase '{}' will be used instead.", prevTask, task);
                }
                if (isGoalSpecification(task)) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. api/maven-api-plugin/src/main/mdo/lifecycle.mdo

            </field>
            <field>
              <name>phases</name>
              <version>1.0.0+</version>
              <description>The phase mappings for this lifecycle.</description>
              <association>
                <type>Phase</type>
                <multiplicity>*</multiplicity>
              </association>
            </field>
          </fields>
        </class>
        <class>
          <name>Phase</name>
          <version>1.0.0+</version>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top