Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for setExecutions (0.06 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

                    MojoNotFoundException.class,
                    () -> getExecutions(calculateExecutionPlan(session, "resources:")),
                    "expected a MojoNotFoundException");
            assertEquals("", e.getGoal());
    
            e = assertThrows(
                    MojoNotFoundException.class,
                    () -> getExecutions(calculateExecutionPlan(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  2. 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)
  3. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

            assertEquals(2, project.getBuildPlugins().get(0).getDependencies().size());
            assertEquals(2, project.getBuildPlugins().get(0).getExecutions().size());
            assertEquals(
                    "first", project.getBuildPlugins().get(0).getExecutions().get(0).getId());
        }
    
        @Test
        void testFutureModelVersion() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                        MavenProject project = step.project;
                        for (Plugin plugin : project.getBuild().getPlugins()) {
                            for (PluginExecution execution : plugin.getExecutions()) {
                                for (String goal : execution.getGoals()) {
                                    MojoDescriptor mojoDescriptor = getMojoDescriptor(project, plugin, goal);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 55.1K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                } else {
                    index.put(key, plugin);
                }
    
                Set<String> executionIds = new HashSet<>();
    
                for (PluginExecution exec : plugin.getExecutions()) {
                    if (!executionIds.add(exec.getId())) {
                        addViolation(
                                problems,
                                Severity.ERROR,
                                Version.V20,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 03 15:06:05 UTC 2025
    - 66.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                        dom = (Xpp3Dom) plugin.getConfiguration();
    
                        if (executionId != null) {
                            for (PluginExecution execution : plugin.getExecutions()) {
                                if (executionId.equals(execution.getId())) {
                                    // NOTE: The PluginConfigurationExpander already merged the plugin-level config in
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

                    .findFirst()
                    .orElse(null);
            assertNotNull(plugin, "Unable to find plugin with artifactId: " + artifactId);
            List<PluginExecution> pluginExecutions = plugin.getExecutions();
            PluginExecution pluginExecution = pluginExecutions.stream()
                    .filter(pe -> pe.getId().equals(expectedId))
                    .findFirst()
                    .orElse(null);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 94.8K bytes
    - Viewed (0)
  8. api/maven-api-model/src/main/mdo/maven.mdo

         * @return a Map of executions field with {@code PluginExecution#getId()} as key
         * @see PluginExecution#getId()
         */
        public Map<String, PluginExecution> getExecutionsAsMap() {
            return getExecutions().stream().collect(Collectors.toMap(exec -> exec.getId(), exec -> exec));
        }
                ]]>
              </code>
            </codeSegment>
            <codeSegment>
              <version>4.0.0+</version>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 26 03:07:35 UTC 2025
    - 133.3K bytes
    - Viewed (0)
Back to top