Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for setExecutions (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  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(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  2. 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 {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  3. 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);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  4. 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,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  5. 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
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:47:20 GMT 2025
    - 67K bytes
    - Click Count (0)
  6. 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>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 26 03:07:35 GMT 2025
    - 133.3K bytes
    - Click Count (0)
Back to Top