Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for merge (0.16 sec)

  1. api/maven-api-settings/src/main/java/org/apache/maven/api/settings/InputLocation.java

        }
    
        /**
         * Merges the {@code source} location into the {@code target} location.
         *
         * @param target the target location
         * @param source the source location
         * @param sourceDominant the boolean indicating of {@code source} is dominant compared to {@code target}
         * @return the merged location
         */
    Java
    - Registered: Sun Feb 04 03:35:10 GMT 2024
    - Last Modified: Mon Jun 19 10:39:14 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultInheritanceAssembler.java

                Map<String, String> merged = new HashMap<>();
                if (sourceDominant) {
                    merged.putAll(target.getProperties());
                    putAll(merged, source.getProperties(), CHILD_DIRECTORY_PROPERTY);
                } else {
                    putAll(merged, source.getProperties(), CHILD_DIRECTORY_PROPERTY);
                    merged.putAll(target.getProperties());
                }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultLifecycleBindingsInjector.java

                    while (execs.putIfAbsent(id, e.withId(id)) != null) {
                        id = e.getId() + "-" + (++i);
                    }
                });
                Plugin merged = cur.withExecutions(execs.values());
                plugins.put(merged, merged);
            }
        }
    
        private static String getExecutionId(Plugin plugin, String goal) {
            Set<String> existingIds = plugin != null
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

        }
    
        public void merge(ArtifactMetadata metadata) {
            ProjectArtifactMetadata m = (ProjectArtifactMetadata) metadata;
            if (!m.file.equals(file)) {
                throw new IllegalStateException("Cannot add two different pieces of metadata for: " + getKey());
            }
        }
    
        public void merge(org.apache.maven.repository.legacy.metadata.ArtifactMetadata metadata) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java

            return path;
        }
    
        public void merge(File existing, File result) throws RepositoryException {
            merge(existing != null ? existing.toPath() : null, result != null ? result.toPath() : null);
        }
    
        @Override
        public void merge(Path existing, Path result) throws RepositoryException {
            Metadata recessive = read(existing);
    
            merge(recessive);
    
            write(result, metadata);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenModelMerger.java

                    merged.put(key, element);
                }
    
                for (Repository element : recessive) {
                    Object key = getRepositoryKey().apply(element);
                    if (!merged.containsKey(key)) {
                        merged.put(key, element);
                    }
                }
    
                builder.repositories(merged.values());
            }
        }
    
        @Override
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/model/plugin/DefaultLifecycleBindingsInjector.java

                        .build();
                model.update(merger.merge(model.getDelegate(), lifecycleModel));
            }
        }
    
        /**
         *  The domain-specific model merger for lifecycle bindings
         */
        protected static class LifecycleBindingsMerger extends MavenModelMerger {
    
            private static final String PLUGIN_MANAGEMENT = "plugin-management";
    
            public Model merge(Model target, Model source) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/FileToRawModelMerger.java

            // don't merge
        }
    
        @Override
        protected void mergeBuildBase_Resources(
                BuildBase.Builder builder,
                BuildBase target,
                BuildBase source,
                boolean sourceDominant,
                Map<Object, Object> context) {
            // don't merge
        }
    
        @Override
        protected void mergeBuildBase_TestResources(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultPluginConfigurationExpander.java

                    return plugin.withExecutions(map(
                            plugin.getExecutions(),
                            execution -> execution.withConfiguration(
                                    XmlNode.merge(execution.getConfiguration(), pluginConfiguration))));
                } else {
                    return plugin;
                }
            });
        }
    
        private List<ReportPlugin> expandReport(List<ReportPlugin> oldPlugins) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/api/services/model/DependencyManagementInjector.java

    /**
     * Handles injection of dependency management into the model.
     *
     */
    public interface DependencyManagementInjector {
    
        /**
         * Merges default values from the dependency management section of the given model into itself.
         *
         * @param model The model into which to merge the values specified by its dependency management sections, must not
         *            be <code>null</code>.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top