Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for mojoExecution (0.18 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 May 05 03:35:11 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 May 05 03:35:11 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/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 May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  4. 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()));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  5. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

        private void collectDependencyRequirements(
                Set<String> scopesToResolve, Set<String> scopesToCollect, Collection<MojoExecution> mojoExecutions) {
            for (MojoExecution mojoExecution : mojoExecutions) {
                MojoDescriptor mojoDescriptor = mojoExecution.getMojoDescriptor();
    
                scopesToResolve.addAll(toScopes(mojoDescriptor.getDependencyResolutionRequired()));
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

                    mojoExecutions.addAll(executions);
                }
    
                lifecycleMappings.put(entry.getKey(), mojoExecutions);
            }
    
            return lifecycleMappings;
        }
    
        private void addMojoExecution(
                Map<Integer, List<MojoExecution>> phaseBindings, MojoExecution mojoExecution, int priority) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  8. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  9. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  10. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 2.8K bytes
    - Viewed (0)
Back to top