Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addMojo (0.04 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanCreatorTest.java

                plan.requiredStep(project, "after:test-resources").addMojo(new MojoExecution(null), 0);
                plan.requiredStep(project, "compile").addMojo(new MojoExecution(null), 0);
                plan.requiredStep(project, "test-compile").addMojo(new MojoExecution(null), 0);
                plan.requiredStep(project, "test").addMojo(new MojoExecution(null), 0);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 28 15:21:19 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildStep.java

            } else {
                return false;
            }
        }
    
        public void skip() {
            skip.set(true);
            mojos.clear();
        }
    
        public void addMojo(MojoExecution mojo, int priority) {
            if (!skip.get()) {
                mojos.computeIfAbsent(priority, k -> new LinkedHashMap<>())
                        .put(mojo.getGoal() + ":" + mojo.getExecutionId(), mojo);
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Apr 30 16:21:08 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top