Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for mojoExecution (0.06 sec)

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

    import org.apache.maven.api.plugin.descriptor.MojoDescriptor;
    import org.apache.maven.api.xml.XmlNode;
    
    /**
     * A {@code MojoExecution} represents a single execution of a Maven Plugin during a given build.
     * An instance of this object is bound to the {@link org.apache.maven.api.di.MojoExecutionScoped}
     * and available as {@code mojoExecution} within {@link org.apache.maven.api.plugin.annotations.Parameter}
     * expressions.
     *
     * @since 4.0.0
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/MojoExecution.java

         */
        private Map<String, List<MojoExecution>> forkedExecutions = new LinkedHashMap<>();
    
        public MojoExecution(Plugin plugin, String goal, String executionId) {
            this.plugin = plugin;
            this.goal = goal;
            this.executionId = executionId;
        }
    
        public MojoExecution(MojoDescriptor mojoDescriptor) {
            this.mojoDescriptor = mojoDescriptor;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java

            MojoDescriptor mojoDescriptor = new MojoDescriptor();
            mojoDescriptor.setPluginDescriptor(pluginDescriptor);
            MojoExecution mojoExecution = new MojoExecution(mojoDescriptor);
            Throwable exception = new PluginExecutionException(mojoExecution, null, cause);
    
            DefaultExceptionHandler handler = new DefaultExceptionHandler();
            ExceptionSummary summary = handler.handleException(exception);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/PhaseRecorderTest.java

            final List<MojoExecution> executions = plan.getMojoExecutions();
    
            final MojoExecution mojoExecution1 = executions.get(0);
            final MojoExecution mojoExecution2 = executions.get(1);
            phaseRecorder.observeExecution(mojoExecution1);
    
            assertTrue(ProjectDependencyGraphStub.A.hasLifecyclePhase(mojoExecution1.getLifecyclePhase()));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ExecutionEventCatapult.java

     * deleted without prior notice.
     *
     */
    public interface ExecutionEventCatapult {
    
        void fire(ExecutionEvent.Type eventType, MavenSession session, MojoExecution mojoExecution);
    
        void fire(ExecutionEvent.Type eventType, MavenSession session, MojoExecution mojoExecution, Exception exception);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java

            return null;
        }
    
        private void checkUnknownMojoConfigurationParameters(MojoExecution mojoExecution) {
            if (mojoExecution.getConfiguration() == null
                    || mojoExecution.getConfiguration().getChildCount() == 0) {
                return;
            }
    
            MojoDescriptor mojoDescriptor = mojoExecution.getMojoDescriptor();
    
            // in first step get parameter names of current goal
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

            this(session, project, null);
        }
    
        public PluginParameterExpressionEvaluatorV4(Session session, Project project, MojoExecution mojoExecution) {
            this.session = session;
            this.mojoExecution = mojoExecution;
            this.properties = session.getEffectiveProperties(project);
            this.project = project;
    
            Path basedir = null;
    
            if (project != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDebugLogger.java

            for (ExecutionPlanItem mojoExecution : executionPlan) {
                debugMojoExecution(mojoExecution.getMojoExecution());
            }
    
            logger.debug("=======================================================================");
        }
    
        private void debugMojoExecution(MojoExecution mojoExecution) {
            String mojoExecId =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

            lifecycleExecutionPlanCalculator.calculateForkedExecutions(mojoExecution, session);
        }
    
        // Site 3.x
        @Override
        public List<MavenProject> executeForkedExecutions(MojoExecution mojoExecution, MavenSession session)
                throws LifecycleExecutionException {
            return mojoExecutor.executeForkedExecutions(mojoExecution, session);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginExecutionException.java

            this.mojoExecution = mojoExecution;
        }
    
        public PluginExecutionException(MojoExecution mojoExecution, MavenProject project, Exception cause) {
            super(mojoExecution.getMojoDescriptor(), project, constructMessage(mojoExecution, cause), cause);
            this.mojoExecution = mojoExecution;
        }
    
        public PluginExecutionException(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top