Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for getPhase (0.34 sec)

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

                    // to examine the phase it is associated to.
                    if (execution.getPhase() != null) {
                        Map<Integer, List<MojoExecution>> phaseBindings = mappings.get(execution.getPhase());
                        if (phaseBindings != null) {
                            for (String goal : execution.getGoals()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. 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());
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  3. 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 {
    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/internal/stub/LifecycleExecutionPlanCalculatorStub.java

            result.setConfiguration(new XmlNodeImpl(executionId + "-" + goal));
            result.setMojoDescriptor(mojoDescriptor);
            result.setLifecyclePhase(mojoDescriptor.getPhase());
    
            return result;
        }
    
        public static MojoDescriptor createMojoDescriptor(String phaseName) {
            return createMojoDescriptor(phaseName, false);
        }
    
    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)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            for (Lifecycle lifecycle : getLifeCycles()) {
                logger.debug("Lifecycle {}", lifecycle);
    
                for (String phase : lifecycle.getPhases()) {
                    // The first definition wins.
                    if (!phaseToLifecycleMap.containsKey(phase)) {
                        phaseToLifecycleMap.put(phase, lifecycle);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

                    final Lifecycle lifecycle = defaultLifecycles.get(phase);
                    if (lifecycle != null) {
                        totalPhaseSet.addAll(lifecycle.getPhases());
                    }
                }
            }
            this.phasesInExecutionPlan = new ArrayList<>(totalPhaseSet);
    
            Map<String, ExecutionPlanItem> lastInExistingPhases = new HashMap<>();
    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)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java

         */
        public void setLifecyclePhases(Map<String, LifecyclePhase> lifecyclePhases) {
            this.lifecyclePhases = lifecyclePhases;
        }
    
        @Deprecated
        public Map<String, String> getPhases() {
            Map<String, LifecyclePhase> lphases = getLifecyclePhases();
            if (lphases == null) {
                return null;
            }
    
            if (lphases.isEmpty()) {
                return Collections.emptyMap();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

        private Map<String, LifecyclePhase> defaultPhases;
    
        private org.apache.maven.api.Lifecycle lifecycle;
    
        public String getId() {
            return id;
        }
    
        public List<String> getPhases() {
            return phases;
        }
    
        static Map<String, LifecyclePhase> getDefaultPhases(org.apache.maven.api.Lifecycle lifecycle) {
            Map<String, List<String>> goals = new HashMap<>();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  9. 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);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecycleMapping.java

        String ROLE = LifecycleMapping.class.getName();
    
        Map<String, Lifecycle> getLifecycles();
    
        @Deprecated
        List<String> getOptionalMojos(String lifecycle);
    
        @Deprecated
        Map<String, String> getPhases(String lifecycle);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.2K bytes
    - Viewed (0)
Back to top