Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for getDependencyConflictId (0.16 sec)

  1. 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)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        File getFile();
    
        void setFile(File destination);
    
        String getBaseVersion();
    
        void setBaseVersion(String baseVersion);
    
        String getId();
    
        String getDependencyConflictId();
    
        void addMetadata(ArtifactMetadata metadata);
    
        Collection<ArtifactMetadata> getMetadataList();
    
        void setRepository(ArtifactRepository remoteRepository);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K 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/transform/SnapshotTransformation.java

                } catch (RepositoryMetadataResolutionException e) {
                    throw new ArtifactDeploymentException(
                            "Error retrieving previous build number for artifact '" + artifact.getDependencyConflictId()
                                    + "': " + e.getMessage(),
                            e);
                }
    
                RepositoryMetadata metadata = new SnapshotArtifactRepositoryMetadata(artifact, snapshot);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

        }
    
        public void setError(String error) {
            this.error = error;
        }
    
        public boolean isError() {
            return error == null;
        }
    
        public String getDependencyConflictId() {
            return groupId + ":" + artifactId;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. 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)
  7. 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