Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. maven-core/src/test/resources-project-builder/merged-plugin-exec-goals-order/w-plugin-mgmt/sub/pom.xml

            <artifactId>maven-it-plugin-a</artifactId>
            <version>1.0-SNAPSHOT</version>
            <executions>
              <execution>
                <id>merge</id>
                <phase>validate</phase>
                <goals>
                  <goal>child-a</goal>
                  <goal>merged</goal>
                  <goal>child-b</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 1.7K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/api/services/model/InheritanceAssembler.java

     */
    public interface InheritanceAssembler {
    
        /**
         * Merges values from the specified parent model into the given child model. Implementations are expected to keep
         * parent and child completely decoupled by injecting deep copies of objects into the child rather than the original
         * objects from the parent.
         *
         * @param child The child model into which to merge the values inherited from the parent, must not be
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. 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)
  8. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

    @Deprecated
    public final class MetadataBridge extends AbstractMetadata implements MergeableMetadata {
    
        private ArtifactMetadata metadata;
    
        private boolean merged;
    
        public MetadataBridge(ArtifactMetadata metadata) {
            this.metadata = metadata;
        }
    
        public void merge(File current, File result) throws RepositoryException {
            try {
                if (current.exists()) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. 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)
  10. maven-core/src/test/resources-project-builder/merged-plugin-exec-order/wo-plugin-mgmt/pom.xml

      <version>0.1</version>
      <packaging>pom</packaging>
    
      <name>Maven Integration Test :: MNG-3925</name>
      <description>
        Test that plugin executions (in the same phase) are properly ordered after inheritance/merge with
        parent executions.
      </description>
    
      <build>
        <!-- This project does not use plugin management for the test plugin -->
        <plugins>
          <plugin>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 2.1K bytes
    - Viewed (0)
Back to top