Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for calculateExecutionPlan (0.3 sec)

  1. maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

                    MojoNotFoundException.class,
                    () -> getExecutions(calculateExecutionPlan(session, "resources:")),
                    "expected a MojoNotFoundException");
            assertEquals("", e.getGoal());
    
            e = assertThrows(
                    MojoNotFoundException.class,
                    () -> getExecutions(calculateExecutionPlan(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

                mergedSegment.getTasks().addAll(taskSegment.getTasks());
            }
    
            return lifecycleExecutionPlanCalculator.calculateExecutionPlan(
                    session, session.getCurrentProject(), mergedSegment.getTasks(), setup);
        }
    
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, String... tasks)
                throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException,
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 7K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleExecutionPlanCalculatorTest.java

            final MavenSession session1 = ProjectDependencyGraphStub.getMavenSession(ProjectDependencyGraphStub.A);
    
            MavenExecutionPlan executionPlan = lifecycleExecutionPlanCalculator.calculateExecutionPlan(
                    session1, ProjectDependencyGraphStub.A, taskSegment1.getTasks());
            assertEquals(2, executionPlan.size());
    
            final GoalTask goalTask3 = new GoalTask("surefire:test");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

     *
     */
    @Deprecated
    public class EmptyLifecycleExecutor implements LifecycleExecutor {
    
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, String... tasks) {
            return new MavenExecutionPlan(null, new DefaultLifecycles());
        }
    
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, boolean setup, String... tasks) {
            return new MavenExecutionPlan(null, new DefaultLifecycles());
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java

            int result = 0;
            for (ProjectSegment projectBuild : projectBuildList) {
                MavenExecutionPlan plan = calculateExecutionPlan(
                        projectBuild.getSession(),
                        projectBuild.getProject(),
                        projectBuild.getTaskSegment().getTasks());
                result += plan.size();
            }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleExecutionPlanCalculator.java

    import org.apache.maven.plugin.version.PluginVersionResolutionException;
    import org.apache.maven.project.MavenProject;
    
    /**
     * @since 3.0
     */
    public interface LifecycleExecutionPlanCalculator {
        MavenExecutionPlan calculateExecutionPlan(MavenSession session, MavenProject project, List<Task> tasks)
                throws PluginNotFoundException, PluginResolutionException, LifecyclePhaseNotFoundException,
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

     *
     */
    public class EmptyLifecycleExecutor implements LifecycleExecutor {
    
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, String... tasks) {
            return new MavenExecutionPlan(null, null);
        }
    
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, boolean setup, String... tasks) {
            return new MavenExecutionPlan(null, null);
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutor.java

         *         unknown.
         */
        Set<Plugin> getPluginsBoundByDefaultToAllLifecycles(String packaging);
    
        MavenExecutionPlan calculateExecutionPlan(MavenSession session, String... tasks)
                throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException,
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

            this.delegates = null;
            this.mojoExecutionConfigurators = Collections.singletonMap("default", new DefaultMojoExecutionConfigurator());
        }
    
        @Override
        public MavenExecutionPlan calculateExecutionPlan(
                MavenSession session, MavenProject project, List<Task> tasks, boolean setup)
                throws PluginNotFoundException, PluginResolutionException, LifecyclePhaseNotFoundException,
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

                        LifecycleExecutionException {
            MavenExecutionPlan executionPlan =
                    lifeCycleExecutionPlanCalculator.calculateExecutionPlan(session, project, taskSegment.getTasks());
    
            lifecycleDebugLogger.debugProjectPlan(project, executionPlan);
    
            if (session.getRequest().getDegreeOfConcurrency() > 1
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 10.2K bytes
    - Viewed (0)
Back to top