Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for Mojo (0.19 sec)

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

     * a MojoException if error conditions occur.<br>
     *
     * @since 4.0.0
     */
    @Experimental
    @FunctionalInterface
    @Consumer
    public interface Mojo {
        /**
         * Perform whatever build-process behavior this <code>Mojo</code> implements.<br>
         * This is the main trigger for the <code>Mojo</code> inside the <code>Maven</code> system, and allows
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java

    @Target(ElementType.TYPE)
    @Inherited
    public @interface Mojo {
        /**
         * goal name (required).
         * @return the goal name
         */
        @Nonnull
        String name();
    
        /**
         * default phase to bind your mojo.
         * @return the default phase
         */
        @Nonnull
        String defaultPhase() default "";
    
        /**
         * does your mojo requires a project to be executed?
         * @return requires a project
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterException.java

        private final MojoDescriptor mojo;
    
        public PluginParameterException(MojoDescriptor mojo, List<Parameter> parameters) {
            super(
                    mojo.getPluginDescriptor(),
                    "The parameters " + format(parameters) + " for goal " + mojo.getRoleHint() + " are missing or invalid");
    
            this.mojo = mojo;
    
            this.parameters = parameters;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue May 09 23:46:02 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/internal/ValidatingConfigurationListener.java

    class ValidatingConfigurationListener implements ConfigurationListener {
        private final Object mojo;
    
        private final ConfigurationListener delegate;
    
        private final Map<String, Parameter> missingParameters;
    
        ValidatingConfigurationListener(Object mojo, MojoDescriptor mojoDescriptor, ConfigurationListener delegate) {
            this.mojo = mojo;
            this.delegate = delegate;
            this.missingParameters = new HashMap<>();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  5. maven-compat/src/main/resources/META-INF/maven/plugin.xml

            <forkId implementation="int" default-value="-1">${forkId}</forkId>
          </configuration>
        </mojo>
        <mojo>
          <goal>end-fork</goal>
          <description>Restore the non-fork currentProject instance, for use in the forking mojo.</description>
          <requiresDirectInvocation>false</requiresDirectInvocation>
          <requiresProject>false</requiresProject>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue May 28 09:19:32 GMT 2013
    - 9.3K bytes
    - Viewed (0)
  6. 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
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  7. 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).
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/DefaultMojosExecutionStrategy.java

    import javax.inject.Singleton;
    
    import java.util.List;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.lifecycle.LifecycleExecutionException;
    
    /**
     * Default mojo execution strategy. It just iterates over mojo executions and runs one by one
     */
    @Named
    @Singleton
    public class DefaultMojosExecutionStrategy implements MojosExecutionStrategy {
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/execution/scope/WeakMojoExecutionListener.java

    /**
     * Extension point that allows build extensions observe and possibly veto mojo executions.
     * <p>
     * Unlike {@link org.apache.maven.execution.MojoExecutionListener}, this extension point does not
     * trigger instantiation of the component, hence "weak" class name prefix. Only applies to mojo execution
     * scoped components.
     * </p>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/internal/MultilineMessageHelperTest.java

            msgs.add("*****************************************************************");
            msgs.add("* An aggregator Mojo is already executing in parallel build,    *");
            msgs.add("* but aggregator Mojos require exclusive access to reactor to   *");
            msgs.add("* prevent race conditions. This mojo execution will be blocked  *");
            msgs.add("* until the aggregator work is done.                            *");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 3.5K bytes
    - Viewed (0)
Back to top