Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for setExecutions (0.18 sec)

  1. 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)
  2. 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)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                    if (org != val) {
                        plugin.setExtensions(val);
                    }
                    // Executions
                    for (PluginExecution execution : plugin.getExecutions()) {
                        visit(execution);
                    }
                    // Dependencies
                    for (Dependency dependency : plugin.getDependencies()) {
                        visit(dependency);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 43.1K bytes
    - Viewed (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,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 03 15:06:05 UTC 2025
    - 66.8K bytes
    - Viewed (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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
  6. 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)
  7. 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