Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ExecutionPlanItem (4.23 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ExecutionPlanItem.java

     *
     * @since 3.0
     */
    public class ExecutionPlanItem {
        private final MojoExecution mojoExecution;
    
        public ExecutionPlanItem(MojoExecution mojoExecution) {
            this.mojoExecution = mojoExecution;
        }
    
        public static List<ExecutionPlanItem> createExecutionPlanItems(
                MavenProject mavenProject, List<MojoExecution> executions) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

            this.phasesInExecutionPlan = new ArrayList<>(totalPhaseSet);
    
            Map<String, ExecutionPlanItem> lastInExistingPhases = new HashMap<>();
            for (ExecutionPlanItem executionPlanItem : getExecutionPlanItems()) {
                lastInExistingPhases.put(executionPlanItem.getLifecyclePhase(), executionPlanItem);
            }
    
            ExecutionPlanItem lastSeenExecutionPlanItem = null;
    
            for (String phase : totalPhaseSet) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/lifecycle/MavenExecutionPlanTest.java

        @Test
        void testFindLastInPhase() throws Exception {
            MavenExecutionPlan plan = LifecycleExecutionPlanCalculatorStub.getProjectAExecutionPlan();
    
            ExecutionPlanItem expected = plan.findLastInPhase("package");
            ExecutionPlanItem beerPhase = plan.findLastInPhase("BEER"); // Beer comes straight after package in stub
            assertEquals(expected, beerPhase);
            assertNotNull(expected);
        }
    
        @Test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

        }
    
        List<MojoExecution> getExecutions(MavenExecutionPlan mavenExecutionPlan) {
            List<MojoExecution> result = new ArrayList<>();
            for (ExecutionPlanItem executionPlanItem : mavenExecutionPlan) {
                result.add(executionPlanItem.getMojoExecution());
            }
            return result;
        }
    
        // We need to take in multiple lifecycles
    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)
  5. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java

                        PluginResolutionException, LifecyclePhaseNotFoundException, LifecycleNotFoundException {
            final List<ExecutionPlanItem> planItemList =
                    ExecutionPlanItem.createExecutionPlanItems(project, mojoExecutions);
            return new MavenExecutionPlan(planItemList, getDefaultLifecycles());
        }
    
    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/DefaultLifecycleExecutionPlanCalculator.java

            if (setup) {
                setupMojoExecutions(session, project, executions);
            }
    
            final List<ExecutionPlanItem> planItem = ExecutionPlanItem.createExecutionPlanItems(project, executions);
    
            return new MavenExecutionPlan(planItem, defaultLifecycles);
        }
    
        @Override
    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)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDebugLogger.java

            logger.debug("Repositories (dependencies): " + currentProject.getRemoteProjectRepositories());
            logger.debug("Repositories (plugins)     : " + currentProject.getRemotePluginRepositories());
    
            for (ExecutionPlanItem mojoExecution : executionPlan) {
                debugMojoExecution(mojoExecution.getMojoExecution());
            }
    
            logger.debug("=======================================================================");
        }
    
    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)
Back to top