Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 120 for Mojo (0.01 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Used to configure your Mojo parameters to be injected by
     * <a href="/ref/current/maven-core/apidocs/org/apache/maven/plugin/MavenPluginManager.html">
     * <code>MavenPluginManager.getConfiguredMojo(...)</code></a>.
     * <p>
     * Beans injected into Mojo parameters are prepared by <a href="https://www.eclipse.org/sisu/">Sisu</a> JSR330-based
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Feb 05 09:45:47 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/MojosExecutionStrategy.java

    import java.util.List;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.lifecycle.LifecycleExecutionException;
    
    /**
     * Interface allows overriding default mojo execution strategy For example it is possible wrap some mojo execution to
     * decorate default functionality or skip some executions
     */
    public interface MojosExecutionStrategy {
    
        /**
         * Entry point to the execution strategy
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildStep.java

        public void skip() {
            skip.set(true);
            mojos.clear();
        }
    
        public void addMojo(MojoExecution mojo, int priority) {
            if (!skip.get()) {
                mojos.computeIfAbsent(priority, k -> new LinkedHashMap<>())
                        .put(mojo.getGoal() + ":" + mojo.getExecutionId(), mojo);
            }
        }
    
        public void executeAfter(BuildStep stepToExecuteBefore) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Apr 30 16:21:08 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanLogger.java

                            }
                            step.mojos.values().stream()
                                    .flatMap(m -> m.values().stream())
                                    .forEach(mojo -> mojo(writer, mojo));
                        });
            }
    
            writer.accept("=======================================================================");
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/ProjectBuildFailureException.java

     * under the License.
     */
    package org.apache.maven;
    
    import org.apache.maven.plugin.MojoFailureException;
    
    /**
     * Exception which occurs when a normal (i.e. non-aggregator) mojo fails to
     * execute. In this case, the mojo failed while executing against a particular
     * project instance, so we can wrap the {@link MojoFailureException} with context
     * information including projectId that caused the failure.
     *
     *
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. api/maven-api-di/src/main/java/org/apache/maven/api/di/MojoExecutionScoped.java

    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Indicates that the annotated bean has a lifespan limited to a given mojo execution,
     * which means each mojo execution will result in a different instance being injected.
     * <p>
     * The following objects will be bound to the mojo execution scope:
     *     <ul>
     *         <li>{@code org.apache.maven.api.MojoExecution}</li>
     *         <li>{@code org.apache.maven.api.Project}</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 12 06:14:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/scope/MojoExecutionScoped.java

    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Indicates that annotated component should be instantiated before mojo execution starts and discarded after mojo
     * execution completes.
     *
     * @since 3.1.2
     */
    @Target({TYPE})
    @Retention(RUNTIME)
    @ScopeAnnotation
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java

         *
         * @return The current project or {@code null} if not applicable.
         */
        MavenProject getProject();
    
        /**
         * Gets the current mojo execution (if any).
         *
         * @return The current mojo execution or {@code null} if not applicable.
         */
        MojoExecution getMojoExecution();
    
        /**
         * Gets the exception that caused the event (if any).
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 29 20:53:26 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                    String msg = str + " aggregator mojo is already being executed "
                            + "in this parallel build, those kind of mojos require exclusive access to "
                            + "reactor to prevent race conditions. This mojo execution will be blocked "
                            + "until the aggregator mojo is done.";
                    warn(msg);
                    acquiredAggregatorLock.lock();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 12 14:55:55 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/ContextEnabled.java

     * project's source root and project's attachment.<br>
     * The plugin manager would pull the context out of the plugin container context, and populate it into the Mojo.
     *
     */
    public interface ContextEnabled {
        /**
         * Set a new shared context <code>Map</code> to a mojo before executing it.
         *
         * @param pluginContext a new <code>Map</code>
         */
        void setPluginContext(Map pluginContext);
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top