Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 41 for MojoExecution (0.63 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java

            super(message);
            this.project = project;
        }
    
        public LifecycleExecutionException(String message, MojoExecution execution, MavenProject project, Throwable cause) {
            super(message, cause);
            this.project = project;
        }
    
        public LifecycleExecutionException(MojoExecution execution, MavenProject project, Throwable cause) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/MojoExecutionConfigurator.java

        /**
         * Create the MojoExecution configuration based on configuration for a Mojo in the MavenProject and the
         * default configuration for the Mojo from the containing plugin's plugin.xml descriptor.
         *
         * @param project
         * @param mojoExecution
         * @param allowPluginLevelConfig
         */
        void configure(MavenProject project, MojoExecution mojoExecution, boolean allowPluginLevelConfig);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionEvent.java

        private final MavenProject project;
    
        private final List<MojoExecution> executionPlan;
    
        private final Throwable cause;
    
        public ProjectExecutionEvent(MavenSession session, MavenProject project) {
            this(session, project, null, null);
        }
    
        public ProjectExecutionEvent(MavenSession session, MavenProject project, List<MojoExecution> executionPlan) {
            this(session, project, executionPlan, null);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseRecorder.java

        private final MavenProject project;
    
        public PhaseRecorder(MavenProject project) {
            this.project = project;
        }
    
        public void observeExecution(MojoExecution mojoExecution) {
            String lifecyclePhase = mojoExecution.getLifecyclePhase();
    
            if (lifecyclePhase != null) {
                PhaseId phaseId = PhaseId.of(lifecyclePhase);
                if (lastLifecyclePhase == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java

            node2.mojos.forEach((k, v) -> node1.mojos.merge(k, v, this::mergeMojos));
            return node1;
        }
    
        private Map<String, MojoExecution> mergeMojos(Map<String, MojoExecution> l1, Map<String, MojoExecution> l2) {
            l2.forEach(l1::putIfAbsent);
            return l1;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 28 12:11:25 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.execution;
    
    import org.apache.maven.plugin.MojoExecution;
    import org.apache.maven.project.MavenProject;
    
    /**
     * Holds data relevant for an execution event.
     *
     */
    public interface ExecutionEvent {
    
        /**
         * The possible types of execution events.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 29 20:53:26 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java

    import org.apache.maven.internal.transformation.TransformerManager;
    import org.apache.maven.lifecycle.MavenExecutionPlan;
    import org.apache.maven.lifecycle.internal.builder.BuilderCommon;
    import org.apache.maven.plugin.MojoExecution;
    import org.apache.maven.project.MavenProject;
    
    /**
     * <p>
     * Builds one or more lifecycles for a full module
     * </p>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java

     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import java.util.Optional;
    
    import org.apache.maven.api.Event;
    import org.apache.maven.api.EventType;
    import org.apache.maven.api.MojoExecution;
    import org.apache.maven.api.Project;
    import org.apache.maven.api.Session;
    import org.apache.maven.execution.ExecutionEvent;
    
    public class DefaultEvent implements Event {
        private final InternalMavenSession session;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 29 20:53:26 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleMappingDelegate.java

    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.plugin.InvalidPluginDescriptorException;
    import org.apache.maven.plugin.MojoExecution;
    import org.apache.maven.plugin.MojoNotFoundException;
    import org.apache.maven.plugin.PluginDescriptorParsingException;
    import org.apache.maven.plugin.PluginNotFoundException;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Event.java

        /**
         * Gets the current mojo execution (if any).
         *
         * @return the current mojo execution or {@code empty()} if not applicable
         */
        @Nonnull
        Optional<MojoExecution> getMojoExecution();
    
        /**
         * Gets the exception that caused the event (if any).
         *
         * @return the exception or {@code empty()} if none
         */
        Optional<Exception> getException();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.1K bytes
    - Click Count (0)
Back to Top