Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for MojoExecution (0.27 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
     */
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. 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;
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue Jan 03 15:52:23 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  3. 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
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

        public void executeMojo(MavenSession session, MojoExecution mojoExecution)
                throws MojoFailureException, MojoExecutionException, PluginConfigurationException, PluginManagerException {
            MavenProject project = session.getCurrentProject();
    
            MojoDescriptor mojoDescriptor = mojoExecution.getMojoDescriptor();
    
            Mojo mojo = null;
    
            ClassRealm pluginRealm;
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  5. 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(
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

            fillMojoDescriptor(session, project, mojoExecution);
    
            mojoExecutionConfigurator(mojoExecution)
                    .configure(project, mojoExecution, MojoExecution.Source.CLI.equals(mojoExecution.getSource()));
    
            finalizeMojoConfiguration(mojoExecution);
    
            calculateForkedExecutions(mojoExecution, session, project, alreadyPlannedExecutions);
        }
    
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  7. 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 =
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java

        private final MavenProject project;
    
        private final MojoExecution mojoExecution;
    
        private final Mojo mojo;
    
        private final Throwable cause;
    
        public MojoExecutionEvent(MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo) {
            this(session, project, mojoExecution, mojo, null);
        }
    
        public MojoExecutionEvent(
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                @Override
                public void run(MojoExecution mojoExecution) throws LifecycleExecutionException {
                    MojoExecutor.this.execute(session, mojoExecution, dependencyContext, phaseRecorder);
                }
            });
        }
    
        private void execute(
                MavenSession session,
                MojoExecution mojoExecution,
                DependencyContext dependencyContext,
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

            List<MojoExecution> executionPlan = getExecutions(calculateExecutionPlan(session, "resources:resources"));
            assertEquals(1, executionPlan.size());
            MojoExecution mojoExecution = executionPlan.get(0);
            assertNotNull(mojoExecution);
            assertEquals(
                    "org.apache.maven.plugins",
                    mojoExecution.getMojoDescriptor().getPluginDescriptor().getGroupId());
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 24.7K bytes
    - Viewed (0)
Back to top