Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for setPhase (0.06 sec)

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

                    }
    
                    PluginExecution execution = new PluginExecution();
                    execution.setId(getExecutionId(plugin, gs.goal));
                    execution.setPhase(phase);
                    execution.setPriority(i - mojos.size());
                    execution.getGoals().add(gs.goal);
    
                    execution.setLocation("", location);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java

            final MojoDescriptor mojoDescriptor = new MojoDescriptor();
            mojoDescriptor.setPhase(phaseName);
            final PluginDescriptor descriptor = new PluginDescriptor();
            Plugin plugin = new Plugin();
            plugin.setGroupId("org.apache.maven.test.MavenExecutionPlan");
            plugin.setArtifactId("stub-plugin-" + phaseName);
            descriptor.setPlugin(plugin);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  4. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

            if (deprecated != null) {
                mojo.setDeprecated(deprecated.getValue());
            }
    
            String phase = c.getChild("phase").getValue();
    
            if (phase != null) {
                mojo.setPhase(phase);
            }
    
            String executePhase = c.getChild("executePhase").getValue();
    
            if (executePhase != null) {
                mojo.setExecutePhase(executePhase);
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                    if (org != val) {
                        execution.setId(val);
                    }
                    // Phase
                    org = execution.getPhase();
                    val = interpolate(org);
                    if (org != val) {
                        execution.setPhase(val);
                    }
                    // Goals
                    visit(execution.getGoals());
                }
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 43.1K bytes
    - Viewed (0)
  6. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

                PluginExecution target, PluginExecution source, boolean sourceDominant, Map<Object, Object> context) {
            String src = source.getPhase();
            if (src != null) {
                if (sourceDominant || target.getPhase() == null) {
                    target.setPhase(src);
                    target.setLocation("phase", source.getLocation("phase"));
                }
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 11:21:39 UTC 2025
    - 99.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/DefaultLifecyclesStub.java

                    VALIDATE.getPhase(),
                    INITIALIZE.getPhase(),
                    PROCESS_RESOURCES.getPhase(),
                    COMPILE.getPhase(),
                    TEST.getPhase(),
                    PROCESS_TEST_RESOURCES.getPhase(),
                    PACKAGE.getPhase(),
                    "BEER",
                    INSTALL.getPhase());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Lifecycle.java

        } // -- void setId( String )
    
        /**
         * Set the phase mappings for this lifecycle.
         *
         * @param phases a phases object.
         */
        public void setPhases(java.util.List<Phase> phases) {
            this.phases = phases;
        } // -- void setPhases( java.util.List )
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/lifecycle/MavenExecutionPlanTest.java

            MavenExecutionPlan plan = LifecycleExecutionPlanCalculatorStub.getProjectAExecutionPlan();
    
            ExecutionPlanItem beerPhase = plan.findLastInPhase(
                    LifecycleExecutionPlanCalculatorStub.VALIDATE.getPhase()); // Beer comes straight after package in stub
            assertNull(beerPhase);
        }
    
        @Test
        void testFindLastInPhaseMisc() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java

            for (Map.Entry<String, LifecyclePhase> e : lphases.entrySet()) {
                phases.put(e.getKey(), e.getValue().toString());
            }
            return phases;
        }
    
        @Deprecated
        public void setPhases(Map<String, String> phases) {
            Map<String, LifecyclePhase> lphases = new LinkedHashMap<>();
            for (Map.Entry<String, String> e : phases.entrySet()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top