- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for setSnapshot (0.18 sec)
-
compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java
assertEquals("myArtifact", target.getArtifactId()); assertEquals("myGroup", target.getGroupId()); assertEquals(3, target.getVersioning().getSnapshot().getBuildNumber()); assertEquals("20200710.072412", target.getVersioning().getSnapshot().getTimestamp()); assertEquals(1, target.getVersioning().getSnapshotVersions().size()); assertEquals(
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/RemoteSnapshotMetadata.java
Versioning versioning = new Versioning(); versioning.setSnapshot(snapshot); versioning.setLastUpdatedTimestamp(timestamp); lastUpdated = versioning.getLastUpdated(); metadata.setVersioning(versioning); } else { snapshot = metadata.getVersioning().getSnapshot(); lastUpdated = metadata.getVersioning().getLastUpdated(); }
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/LocalSnapshotMetadata.java
private static Metadata createMetadata(Artifact artifact) { Snapshot snapshot = new Snapshot(); snapshot.setLocalCopy(true); Versioning versioning = new Versioning(); versioning.setSnapshot(snapshot); Metadata metadata = new Metadata(); metadata.setVersioning(versioning); metadata.setGroupId(artifact.getGroupId()); metadata.setArtifactId(artifact.getArtifactId());
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-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
return metadata; } protected static Versioning createVersioning(Snapshot snapshot) { Versioning versioning = new Versioning(); versioning.setSnapshot(snapshot); return versioning; } public void setMetadata(Metadata metadata) { this.metadata = metadata; } public Metadata getMetadata() { return metadata;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7K bytes - Viewed (0) -
api/maven-api-metadata/src/main/mdo/metadata.mdo
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed May 15 17:32:27 UTC 2024 - 15.8K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
&& versioning.getSnapshot() != null && versioning.getSnapshot().getBuildNumber() > 0) { final Versioning repaired = new Versioning(); repaired.setLastUpdated(versioning.getLastUpdated()); repaired.setSnapshot(new Snapshot());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 20.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
if (m.getVersioning().getSnapshot() == null) { m.getVersioning().setSnapshot(new Snapshot()); } } else { if ((m.getVersioning() != null) && (m.getVersioning().getSnapshot() != null) && m.getVersioning().getSnapshot().isLocalCopy()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java
metadata.merge(new Metadata()); String dateAfter = gregorianDate(); String ts = metadata.metadata.getVersioning().getSnapshot().getTimestamp(); String datePart = DATE_FILTER.matcher(ts).replaceAll(""); /* Allow for this test running across midnight */ Set<String> expected = new HashSet<>(Arrays.asList(dateBefore, dateAfter));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java
if ((repoMetadata != null) && (repoMetadata.getVersioning() != null && repoMetadata.getVersioning().getSnapshot() != null)) { buildNumber = repoMetadata.getVersioning().getSnapshot().getBuildNumber(); } return buildNumber; } public static DateFormat getUtcDateFormatter() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java
repo.setLayout(profileXmlRepo.getLayout()); repo.setName(profileXmlRepo.getName()); repo.setUrl(profileXmlRepo.getUrl()); if (profileXmlRepo.getSnapshots() != null) { repo.setSnapshots(convertRepositoryPolicy(profileXmlRepo.getSnapshots())); } if (profileXmlRepo.getReleases() != null) { repo.setReleases(convertRepositoryPolicy(profileXmlRepo.getReleases())); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0)