Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for merge (0.17 sec)

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

            }
    
            return new InputLocation(-1, -1, InputSource.merge(source.getSource(), target.getSource()), locations);
        } // -- InputLocation merge( InputLocation, InputLocation, boolean )
    
        /**
         * Merges the {@code source} location into the {@code target} location.
         * This method is used when the locations refer to lists and also merges the indices.
         *
         * @param target the target location
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Sep 05 16:06:44 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. 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)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

      public void testAbsent() {
        assertEquals(
            "Map.merge(absent, value, function) should return value",
            v3(),
            getMap()
                .merge(
                    k3(),
                    v3(),
                    (oldV, newV) -> {
                      throw new AssertionFailedError(
                          "Should not call merge function if key was absent");
                    }));
        expectAdded(e3());
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        @Nullable
        Object getInputLocation();
    
        default XmlNode merge(@Nullable XmlNode source) {
            return merge(source, (Boolean) null);
        }
    
        XmlNode merge(@Nullable XmlNode source, @Nullable Boolean childMergeOverride);
    
        /**
         * Merge recessive into dominant and return either {@code dominant}
         * with merged information or a clone of {@code recessive} if
         * {@code dominant} is {@code null}.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Nov 27 23:11:34 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

            return metadata;
        }
    
        public void merge(org.apache.maven.repository.legacy.metadata.ArtifactMetadata metadata) {
            // TODO not sure that it should assume this, maybe the calls to addMetadata should pre-merge, then artifact
            // replaces?
            AbstractRepositoryMetadata repoMetadata = (AbstractRepositoryMetadata) metadata;
            this.metadata.merge(repoMetadata.getMetadata());
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java

            repositoryEventDispatcher.dispatch(event.build());
        }
    
        private void merge(
                Artifact artifact, Map<String, VersionInfo> infos, Versioning versioning, ArtifactRepository repository) {
            if (versioning.getRelease() != null && !versioning.getRelease().isEmpty()) {
                merge(RELEASE, infos, versioning.getLastUpdated(), versioning.getRelease(), repository);
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java

        ProjectBuildingRequest setRepositorySession(RepositorySystemSession repositorySession);
    
        /**
         * Sets the merge mode used to combine repositories declared in the POM with the repositories specified in this
         * request.
         *
         * @param mode The repository merge mode, must not be {@code null}.
         * @return This request for chaining, never {@code null}.
         * @see #setRemoteRepositories(List)
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7K bytes
    - Viewed (0)
Back to top