Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getManagementKey (0.1 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

            @Override
            public ModelSource resolveModel(org.apache.maven.model.Dependency dependency)
                    throws UnresolvableModelException {
                switch (dependency.getManagementKey()) {
                    case BASE1_ID:
                        return new StringModelSource(BASE1);
                    case BASE2_ID:
                        return new StringModelSource(BASE2);
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                            prefix, "optional", problems, errOn30, Version.V20, d.getOptional(), d.getManagementKey(), d);
    
                    if (!management) {
                        validateVersion(
                                prefix, "version", problems, errOn30, Version.V20, d.getVersion(), d.getManagementKey(), d);
    
                        /*
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java

                if (depMgmt != null) {
                    for (Dependency dependency : depMgmt.getDependencies()) {
                        dependencies.put(dependency.getManagementKey(), dependency);
                    }
                } else {
                    depMgmt = DependencyManagement.newInstance();
                }
    
                Set<String> directDependencies = new HashSet<>(dependencies.keySet());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                    Artifact managedArtifact = createDependencyArtifact(managedDependency, null, pomArtifact);
    
                    managedVersions.put(managedDependency.getManagementKey(), managedArtifact);
                }
            }
    
            List<ArtifactRepository> aggregatedRepositories =
                    aggregateRepositories(request.getRemoteRepositories(), pomRepositories);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

            Map<String, Dependency> normalized = new LinkedHashMap<>(dependencies.size() * 2);
    
            for (Dependency dependency : dependencies) {
                normalized.put(dependency.getManagementKey(), dependency);
            }
    
            if (dependencies.size() != normalized.size()) {
                builder.dependencies(normalized.values());
            }
    
            return builder.build();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                        .setMessage("'dependencyManagement.dependencies.dependency.groupId' for "
                                + dependency.getManagementKey() + " is missing.")
                        .setLocation(dependency.getLocation("")));
                return null;
            }
            if (artifactId == null || artifactId.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  7. api/maven-api-model/src/main/mdo/maven.mdo

              <code>
                <![CDATA[
        private volatile String managementKey;
    
        /**
         * @return the management key as {@code groupId:artifactId:type}
         */
        public String getManagementKey() {
            if (managementKey == null) {
                managementKey = getGroupId() + ":" + getArtifactId() + ":" + getType() + (getClassifier() != null ? ":" + getClassifier() : "");
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
Back to top