Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for setExecutions (0.06 sec)

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

            Map<String, List<String>> goals = new HashMap<>();
            lifecycle.allPhases().forEach(phase -> phase.plugins()
                    .forEach(plugin -> plugin.getExecutions().forEach(exec -> exec.getGoals()
                            .forEach(goal -> goals.computeIfAbsent(phase.name(), n -> new ArrayList<>())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 23:04:37 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

                count = count + 1;
    
                validPluginCounts.put(pluginArtifactId, count);
            }
    
            assertNotNull(testPlugin);
    
            List<PluginExecution> executions = testPlugin.getExecutions();
    
            assertEquals(1, executions.size());
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 04 10:35:11 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultPluginConfigurationExpander.java

            for (Plugin plugin : plugins) {
                Xpp3Dom pluginConfiguration = (Xpp3Dom) plugin.getConfiguration();
    
                if (pluginConfiguration != null) {
                    for (PluginExecution execution : plugin.getExecutions()) {
                        Xpp3Dom executionConfiguration = (Xpp3Dom) execution.getConfiguration();
    
                        executionConfiguration =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java

            }
    
            if (plugin != null) {
                PluginExecution pluginExecution =
                        findPluginExecution(mojoExecution.getExecutionId(), plugin.getExecutions());
    
                XmlNode pomConfiguration = null;
    
                if (pluginExecution != null) {
                    pomConfiguration = pluginExecution.getDelegate().getConfiguration();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java

            if (plugin != null) {
                if (pluginExecutionId != null && !pluginExecutionId.isEmpty()) {
                    for (PluginExecution execution : plugin.getExecutions()) {
                        if (pluginExecutionId.equals(execution.getId())) {
                            setConfiguration(execution.getConfiguration());
                            break;
                        }
                    }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

                }
            }
            return mojos;
        }
    
        // Used by m2e but will be removed, really.
        @Deprecated
        public List<MojoExecution> getExecutions() {
            return getMojoExecutions();
        }
    
        public int size() {
            return planItem.size();
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

                }
            };
        }
    
        @Override
        public PluginExecution getModel() {
            return delegate.getPlugin().getExecutions().stream()
                    .filter(pe -> Objects.equals(pe.getId(), getExecutionId()))
                    .findFirst()
                    .map(org.apache.maven.model.PluginExecution::getDelegate)
                    .orElse(null);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                    Map<Object, Plugin> master = new LinkedHashMap<>(src.size() * 2);
    
                    for (Plugin element : src) {
                        if (element.isInherited() || !element.getExecutions().isEmpty()) {
                            // NOTE: Enforce recursive merge to trigger merging/inheritance logic for executions
                            Plugin plugin = new Plugin();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

             * not interested in any of the executions bound to it.
             */
    
            for (Plugin plugin : project.getBuild().getPlugins()) {
                for (PluginExecution execution : plugin.getExecutions()) {
                    // 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();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 23:04:37 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

                List<MojoExecution> forkedExecutions = lifecycleMappings.get(phaseId);
    
                if (forkedExecutions != null) {
                    for (Execution execution : phase.getExecutions()) {
                        for (String goal : execution.getGoals()) {
                            MojoDescriptor forkedMojoDescriptor;
    
                            if (goal.indexOf(':') < 0) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 26.7K bytes
    - Viewed (0)
Back to top