Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for setPhases (0.28 sec)

  1. 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()) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java

            assertThat(lifecycle.getId(), is("default"));
            assertThat(lifecycle.getPhases(), hasSize(23));
        }
    
        @Test
        void testCleanLifecycle() {
            final Lifecycle lifecycle = getLifeCycleById("clean");
            assertThat(lifecycle.getId(), is("clean"));
            assertThat(lifecycle.getPhases(), hasSize(3));
        }
    
        @Test
        void testSiteLifecycle() {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. 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 Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. 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 Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  5. 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 Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/mapping/DefaultLifecycleMapping.java

            } else if ("default".equals(lifecycle)) {
                return phases;
            } else {
                return null;
            }
        }
    
        @Deprecated
        @Override
        public Map<String, String> getPhases(String lifecycle) {
            return LifecyclePhase.toLegacyMap(getLifecyclePhases(lifecycle));
        }
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Feb 28 07:46:36 GMT 2024
    - 4K bytes
    - Viewed (0)
  7. 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 Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. 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 Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

             */
    
            Map<String, Map<Integer, List<MojoExecution>>> mappings = new LinkedHashMap<>();
    
            for (String phase : lifecycle.getPhases()) {
                Map<Integer, List<MojoExecution>> phaseBindings = new TreeMap<>();
    
                mappings.put(phase, phaseBindings);
    
                if (phase.equals(lifecyclePhase)) {
                    break;
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java

        }
    
        public static MojoDescriptor createMojoDescriptor(String phaseName, boolean threadSafe) {
            final MojoDescriptor mojoDescriptor = new MojoDescriptor();
            mojoDescriptor.setPhase(phaseName);
            final PluginDescriptor descriptor = new PluginDescriptor();
            Plugin plugin = new Plugin();
            plugin.setGroupId("org.apache.maven.test.MavenExecutionPlan");
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 12.4K bytes
    - Viewed (0)
Back to top