- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for setUpdated (0.17 sec)
-
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) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java
SnapshotVersion sv = new SnapshotVersion(); sv.setClassifier(artifact.getClassifier()); sv.setExtension(artifact.getExtension()); sv.setVersion(getVersion()); sv.setUpdated(lastUpdated); versions.put(getKey(sv.getClassifier(), sv.getExtension()), sv); } Versioning versioning = recessive.getVersioning(); if (versioning != null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java
SnapshotVersion sv = new SnapshotVersion(); sv.setClassifier(artifact.getClassifier()); sv.setExtension(artifact.getExtension()); sv.setVersion(version); sv.setUpdated(lastUpdated); versions.put(getKey(sv.getClassifier(), sv.getExtension()), sv); } artifacts.clear(); Versioning versioning = recessive.getVersioning();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K bytes - Viewed (0) -
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)