Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getExpandedVersion (0.1 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

        }
    
        @Override
        public MavenMetadata setPath(Path path) {
            return new RemoteSnapshotMetadata(metadata, path, timestamp, buildNumber);
        }
    
        public String getExpandedVersion(Artifact artifact) {
            String key = getKey(artifact.getClassifier(), artifact.getExtension());
            return versions.get(key).getVersion();
        }
    
        @Override
        protected void merge(Metadata recessive) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java

                RemoteSnapshotMetadata snapshotMetadata = snapshots.get(key);
                if (snapshotMetadata != null) {
                    artifact = artifact.setVersion(snapshotMetadata.getExpandedVersion(artifact));
                }
            }
    
            return artifact;
        }
    
        @Override
        public Collection<? extends Metadata> finish(Collection<? extends Artifact> artifacts) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top