Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for setPhase (0.05 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

                    // if the phase is specified then I don't have to go fetch the plugin yet and pull it down
                    // to examine the phase it is associated to.
                    String phase = execution.getPhase();
                    if (aliases.containsKey(phase)) {
                        phase = aliases.get(phase);
                    }
                    if (phase != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 23:04:37 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            assertTrue(md.isProjectRequired(), "Expected " + md + ".isProjectRequired() to return true");
            assertFalse(md.isThreadSafe(), "Expected " + md + ".isThreadSafe() to return false");
            assertEquals("package", md.getPhase());
            assertEquals("org.apache.maven.plugin.jar.JarMojo", md.getImplementation());
            assertEquals("antrun", md.getComponentConfigurator());
            assertEquals("java", md.getLanguage());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top