Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for setPlugin (0.04 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginNotFoundException.java

                    plugin.getVersion(),
                    "maven-plugin",
                    null,
                    remoteRepositories,
                    null);
            this.plugin = plugin;
        }
    
        public Plugin getPlugin() {
            return plugin;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

                        merger.mergePlugin(plugin, first);
                    }
                    normalized.put(key, plugin);
                }
    
                if (plugins.size() != normalized.size()) {
                    build.setPlugins(new ArrayList<>(normalized.values()));
                }
            }
    
            /*
             * NOTE: This is primarily to keep backward-compat with Maven 2.x which did not validate that dependencies are
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java

                versioning.setVersions(new ArrayList<>(versions));
            }
    
            // just carry-on as-is
            if (!recessive.getPlugins().isEmpty()) {
                metadata.setPlugins(new ArrayList<>(recessive.getPlugins()));
            }
        }
    
        public Object getKey() {
            return getGroupId() + ':' + getArtifactId();
        }
    
        public static Object getKey(Artifact artifact) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                        .allSteps()
                        .flatMap(step -> step.mojos.values().stream().flatMap(map -> map.values().stream()))
                        .map(MojoExecution::getPlugin)
                        .filter(p -> p.getLocation("version") != null
                                && p.getLocation("version").getSource() != null
                                && defaulModelId.equals(
    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. impl/maven-core/src/main/java/org/apache/maven/model/plugin/DefaultLifecycleBindingsInjector.java

                                }
                            }
                        }
                    }
    
                    List<Plugin> result = new ArrayList<>(merged.values());
    
                    target.setPlugins(result);
                }
            }
    
            @Override
            protected void mergePluginExecution(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

                                .map(ModelProblem::getException)
                                .filter(pluginArtifactNotFoundException)
                                .map(exc -> ((PluginResolutionException) exc.getCause()).getPlugin())
                                .anyMatch(isPluginPartOfRequestScope);
                    })
                    .orElse(false);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

                final MojoExecution mojoExecution = executionPlanItem.getMojoExecution();
                if (!mojoExecution.getMojoDescriptor().isThreadSafe()) {
                    plugins.add(mojoExecution.getPlugin());
                }
            }
            return plugins;
        }
    
        /**
         * Get set of mojos used but not marked @threadSafe
         *
         * @return the set of mojo descriptors
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

            return false;
        }
    
        private String pluginDeclaration(MavenSession mavenSession, MojoDescriptor mojoDescriptor) {
            InputLocation inputLocation =
                    mojoDescriptor.getPluginDescriptor().getPlugin().getLocation("");
            if (inputLocation != null && inputLocation.getSource() != null) {
                StringBuilder stringBuilder = new StringBuilder();
                stringBuilder.append(inputLocation.getSource().getModelId());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:32 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

            final String defaulModelId = DefaultLifecycleRegistry.DEFAULT_LIFECYCLE_MODELID;
    
            List<String> unversionedPlugins = executionPlan.getMojoExecutions().stream()
                    .map(MojoExecution::getPlugin)
                    .filter(p -> p.getLocation("version") != null
                            && p.getLocation("version").getSource() != null
                            && defaulModelId.equals(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

                }
            }
        }
    
        protected void mergeReporting_Plugins(
                Reporting target, Reporting source, boolean sourceDominant, Map<Object, Object> context) {
            target.setPlugins(
                    merge(target.getPlugins(), source.getPlugins(), sourceDominant, new ReportPluginKeyComputer()));
        }
    
        protected void mergeReportPlugin(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 11:21:39 UTC 2025
    - 99.2K bytes
    - Viewed (0)
Back to top