Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getSnapshotVersions (0.08 sec)

  1. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            assertEquals(1, target.getVersioning().getSnapshotVersions().size());
            assertEquals(
                    "sources", target.getVersioning().getSnapshotVersions().get(0).getClassifier());
            assertEquals("jar", target.getVersioning().getSnapshotVersions().get(0).getExtension());
            assertEquals(
                    "20200710072412",
                    target.getVersioning().getSnapshotVersions().get(0).getUpdated());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

            }
    
            Versioning versioning = recessive.getVersioning();
            if (versioning != null) {
                for (SnapshotVersion sv : versioning.getSnapshotVersions()) {
                    String key = getKey(sv.getClassifier(), sv.getExtension());
                    if (!versions.containsKey(key)) {
                        versions.put(key, sv);
                    }
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                merge(LATEST, infos, versioning.getLastUpdated(), versioning.getLatest(), repository);
            }
    
            for (SnapshotVersion sv : versioning.getSnapshotVersions()) {
                if (sv.getVersion() != null && !sv.getVersion().isEmpty()) {
                    String key = getKey(sv.getClassifier(), sv.getExtension());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

            }
    
            artifacts.clear();
    
            Versioning versioning = recessive.getVersioning();
            if (versioning != null) {
                for (SnapshotVersion sv : versioning.getSnapshotVersions()) {
                    String key = getKey(sv.getClassifier(), sv.getExtension());
                    if (!versions.containsKey(key)) {
                        versions.put(key, sv);
                    }
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top