Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getDependencyConflictId (0.11 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                for (Dependency dependency : dependencies) {
                    Artifact artifact = createDependencyArtifact(dependency);
                    if (!artifacts.containsKey(artifact.getDependencyConflictId())) {
                        artifacts.put(artifact.getDependencyConflictId(), artifact);
                    }
                }
    
                for (Artifact artifact : artifacts.values()) {
                    try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        //
        // ----------------------------------------------------------------------
    
        @Override
        public String getId() {
            return getDependencyConflictId() + ":" + getBaseVersion();
        }
    
        @Override
        public String getDependencyConflictId() {
            StringBuilder sb = new StringBuilder(128);
            sb.append(getGroupId());
            sb.append(':');
            appendArtifactTypeClassifierString(sb);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

                throws ArtifactResolutionException {
            Map<String, Artifact> managedVersions =
                    Collections.singletonMap(managedVersion.getDependencyConflictId(), managedVersion);
            return artifactCollector.collect(
                    Collections.singleton(a.artifact),
                    projectArtifact.artifact,
                    managedVersions,
                    null,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            }
    
            // remove the originating artifact if it is also in managed versions to avoid being modified during resolution
            Artifact managedOriginatingArtifact = versionMap.get(originatingArtifact.getDependencyConflictId());
    
            if (managedOriginatingArtifact != null) {
                // TODO we probably want to warn the user that he is building an artifact with
                // different values than in dependencyManagement
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                        Map<String, Artifact> mergedArtifacts = new LinkedHashMap<>();
                        for (Artifact artifact : allArtifacts) {
                            String conflictId = artifact.getDependencyConflictId();
                            if (!mergedArtifacts.containsKey(conflictId)) {
                                mergedArtifacts.put(conflictId, artifact);
                            }
                        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top