Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setUpdated (0.06 sec)

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

            target.getVersioning().setLastUpdated("20200921071745");
            SnapshotVersion sv = new SnapshotVersion();
            sv.setClassifier("sources");
            sv.setExtension("jar");
            sv.setUpdated("20200710072412");
            target.getVersioning().addSnapshotVersion(sv);
    
            Metadata source = createMetadataFromArtifact(artifact);
            // nothing should be actually changed, but still merge returns true
    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/DefaultVersionResolver.java

                if (sv.getVersion() != null && !sv.getVersion().isEmpty()) {
                    String key = getKey(sv.getClassifier(), sv.getExtension());
                    merge(SNAPSHOT + key, infos, sv.getUpdated(), sv.getVersion(), repository);
                }
            }
    
            Snapshot snapshot = versioning.getSnapshot();
            if (snapshot != null && versioning.getSnapshotVersions().isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top