- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for setVersioning (0.19 sec)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java
metadata.setPlugins(new ArrayList<>(mergedPlugins.values())); } // just carry-on as-is if (recessive.getVersioning() != null) { metadata.setVersioning(recessive.getVersioning()); } } @Deprecated @Override public MavenMetadata setFile(File file) { return new PluginsMetadata(pluginInfo, file.toPath(), timestamp);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java
} @Override protected void merge(Metadata recessive) { metadata.getVersioning().setLastUpdatedTimestamp(timestamp); String lastUpdated = metadata.getVersioning().getLastUpdated(); Map<String, SnapshotVersion> versions = new LinkedHashMap<>(); for (Artifact artifact : artifacts) {
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
versioning.setLastUpdatedTimestamp(timestamp); lastUpdated = versioning.getLastUpdated(); metadata.setVersioning(versioning); } else { snapshot = metadata.getVersioning().getSnapshot(); lastUpdated = metadata.getVersioning().getLastUpdated(); } for (Artifact artifact : artifacts) { String version = artifact.getVersion();
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/VersionsMetadata.java
} metadata.setVersioning(versioning); return metadata; } @Override protected void merge(Metadata recessive) { Versioning versioning = metadata.getVersioning(); versioning.setLastUpdatedTimestamp(timestamp); if (recessive.getVersioning() != null) { if (versioning.getLatest() == null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0) -
compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java
addSnapshotVersion(source.getVersioning(), before, artifact); // nothing should be updated, as the target was already updated at a later date than source assertFalse(target.merge(source)); assertEquals(1, target.getVersioning().getSnapshotVersions().size()); assertEquals(sv1, target.getVersioning().getSnapshotVersions().get(0));
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-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
Metadata metadata = new Metadata(); metadata.setGroupId(artifact.getGroupId()); metadata.setArtifactId(artifact.getArtifactId()); metadata.setVersion(artifact.getVersion()); metadata.setVersioning(versioning); return metadata; } protected static Versioning createVersioning(Snapshot snapshot) { Versioning versioning = new Versioning(); versioning.setSnapshot(snapshot);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
if (m.getVersioning() == null) { m.setVersioning(new Versioning()); } if (m.getVersioning().getSnapshot() == null) { m.getVersioning().setSnapshot(new Snapshot()); } } else { if ((m.getVersioning() != null)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.9K bytes - Viewed (0) -
api/maven-api-metadata/src/main/mdo/metadata.mdo
changed = true; } } Versioning versioning = sourceMetadata.getVersioning(); if ( versioning != null ) { Versioning v = getVersioning(); if ( v == null ) { v = new Versioning(); setVersioning( v ); changed = true; }
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-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java
Metadata repoMetadata = metadata.getMetadata(); 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-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 */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0)