Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LifeCycleTask (0.2 sec)

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

        }
    
        @Test
        void testSetupMojoExecution() throws Exception {
            File pom = getProject("mojo-configuration");
    
            MavenSession session = createMavenSession(pom);
    
            LifecycleTask task = new LifecycleTask("generate-sources");
            MavenExecutionPlan executionPlan = lifeCycleExecutionPlanCalculator.calculateExecutionPlan(
                    session, session.getCurrentProject(), Arrays.asList(task), false);
    
    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/internal/DefaultLifecycleExecutionPlanCalculator.java

                    MojoExecution mojoExecution = new MojoExecution(mojoDescriptor, executionId, MojoExecution.Source.CLI);
    
                    mojoExecutions.add(mojoExecution);
                } else if (task instanceof LifecycleTask) {
                    String lifecyclePhase = task.getValue();
    
                    Map<String, List<MojoExecution>> phaseToMojoMapping =
                            calculateLifecycleMappings(session, project, lifecyclePhase);
    
    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)
Back to top