Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for plugin (0.16 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

            if (build != null) {
                List<Plugin> plugins = build.getPlugins();
                Map<Object, Plugin> normalized = new LinkedHashMap<>(plugins.size() * 2);
    
                for (Plugin plugin : plugins) {
                    Object key = plugin.getKey();
                    Plugin first = normalized.get(key);
                    if (first != null) {
                        plugin = merger.mergePlugin(plugin, first);
                    }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadata.java

            if (!recessivePlugins.isEmpty() || !plugins.isEmpty()) {
                LinkedHashMap<String, Plugin> mergedPlugins = new LinkedHashMap<>();
                recessivePlugins.forEach(p -> mergedPlugins.put(p.getPrefix(), p));
                plugins.forEach(p -> mergedPlugins.put(p.getPrefix(), p));
                metadata = metadata.withPlugins(mergedPlugins.values());
            }
            // just carry-on as-is
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

    import org.apache.maven.api.MojoExecution;
    import org.apache.maven.api.Node;
    import org.apache.maven.api.Plugin;
    import org.apache.maven.api.model.PluginExecution;
    import org.apache.maven.api.plugin.descriptor.MojoDescriptor;
    import org.apache.maven.api.plugin.descriptor.PluginDescriptor;
    import org.apache.maven.api.plugin.descriptor.lifecycle.Lifecycle;
    import org.apache.maven.api.xml.XmlNode;
    import org.codehaus.plexus.util.xml.Xpp3Dom;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java

        static class DefaultPhase implements Lifecycle.Phase {
            private final String name;
            private final List<Plugin> plugins;
            private final List<Lifecycle.Phase> phases;
    
            DefaultPhase(String name, List<Plugin> plugins, List<Lifecycle.Phase> phases) {
                this.name = name;
                this.plugins = plugins;
                this.phases = phases;
            }
    
            @Override
            public String name() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileInjector.java

                    for (Plugin element : tgt) {
                        Object key = getPluginKey().apply(element);
                        master.put(key, element);
                    }
    
                    Map<Object, List<Plugin>> predecessors = new LinkedHashMap<>();
                    List<Plugin> pending = new ArrayList<>();
                    for (Plugin element : src) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

            lifecycle.phases().forEach(phase -> phase.plugins()
                    .forEach(plugin -> plugin.getExecutions().forEach(exec -> exec.getGoals()
                            .forEach(goal -> goals.computeIfAbsent(phase.name(), n -> new ArrayList<>())
                                    .add(plugin.getGroupId() + ":" + plugin.getArtifactId() + ":" + plugin.getVersion()
                                            + ":" + goal)))));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

                                                    newPlugin("maven-surefire-plugin", "test"),
                                                    newPlugin("maven-jar-plugin", "jar"),
                                                    newPlugin("maven-install-plugin", "install"),
                                                    newPlugin("maven-deploy-plugin", "deploy")))
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/PluginDependenciesResolver.java

         * @throws PluginResolutionException If the plugin artifact could not be resolved.
         */
        Artifact resolve(Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session)
                throws PluginResolutionException;
    
        /**
         * Resolves the runtime dependencies of the specified plugin.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadataGenerator.java

    import org.eclipse.aether.util.ConfigUtils;
    
    /**
     * Maven G level metadata generator.
     * <p>
     * Plugin metadata contains G level list of "prefix" to A mapping for plugins present under this G.
     */
    class PluginsMetadataGenerator implements MetadataGenerator {
        private static final String PLUGIN_DESCRIPTOR_LOCATION = "META-INF/maven/plugin.xml";
    
        private final Map<Object, PluginsMetadata> processedPlugins;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

                plugins.add(newPlugin("maven-surefire-plugin", "test"));
                plugins.add(newPlugin("maven-jar-plugin", "jar"));
                plugins.add(newPlugin("maven-install-plugin", "install"));
                plugins.add(newPlugin("maven-deploy-plugin", "deploy"));
            } else {
                plugins = Collections.emptySet();
            }
    
            return plugins;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top