- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 380 for isSnapshot (0.04 seconds)
-
compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java
} @Test void testGetVersionReturnsResolvedVersionOnSnapshot() { assertEquals(snapshotResolvedVersion, snapshotArtifact.getVersion()); // this is FOUL! // snapshotArtifact.isSnapshot(); assertEquals(snapshotSpecVersion, snapshotArtifact.getBaseVersion()); } @Test void testGetDependencyConflictId() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 7.4K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt
Properties().apply { put("commitId", commitId.getOrElse("HEAD")) put("versionNumber", version.get()) put("baseVersion", baseVersion.get()) put("isSnapshot", snapshot.get().toString()) put("buildTimestamp", getBuildTimestampAsString()) put("buildTimestampIso", getBuildTimestampAsIsoString()) }, file ) }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 16 02:21:13 GMT 2025 - 3.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java
request.addArtifact(mainArtifact); String versionKey = artifact.getGroupId() + ':' + artifact.getArtifactId(); String snapshotKey = null; if (artifact.isSnapshot()) { snapshotKey = versionKey + ':' + artifact.getBaseVersion(); request.addMetadata(relatedMetadata.get(snapshotKey)); } request.addMetadata(relatedMetadata.get(versionKey));
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/GroupRepositoryMetadata.java
getMetadata().addPlugin(plugin); } } @Override public Object getKey() { return groupId; } @Override public boolean isSnapshot() { return false; } @Override public ArtifactRepository getRepository() { return null; } @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
ArtifactRepository localRepository) throws RepositoryMetadataStoreException { // TODO this could be a lot nicer... should really be in the snapshot transformation? if (metadata.isSnapshot()) { Metadata prevMetadata = metadata.getMetadata(); for (ArtifactRepository repository : previousMetadata.keySet()) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 18.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java
*/ @Nonnull String getExtension(); /** * Determines whether this artifact uses a snapshot version. * * @return {@code true} if the artifact is a snapshot, {@code false} otherwise * @see org.apache.maven.api.Session#isVersionSnapshot(String) */ boolean isSnapshot(); /** * {@return coordinates with the same identifiers as this artifact}.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jun 26 07:56:58 GMT 2025 - 4.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
// Here, we need to determine which policy to use. Release updateInterval will be used when // the metadata refers to a release artifact or meta-version, and snapshot updateInterval will be used when // it refers to a snapshot artifact or meta-version. // NOTE: Release metadata includes version information about artifacts that have been released, to allowCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 9.4K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
this.groupId = groupId; } @Override public void setArtifactId(String artifactId) { this.artifactId = artifactId; } @Override public boolean isSnapshot() { return getBaseVersion() != null && (getBaseVersion().endsWith(SNAPSHOT_VERSION) || getBaseVersion().equals(LATEST_VERSION)); } @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 14.6K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
import java.util.Map; import java.util.regex.Matcher; import org.apache.maven.artifact.versioning.VersionRange; /** * ArtifactUtils */ public final class ArtifactUtils { public static boolean isSnapshot(String version) { if (version != null) { if (version.regionMatches( true, version.length() - Artifact.SNAPSHOT_VERSION.length(),Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
/** * Checks whether a given artifact version is considered a {@code SNAPSHOT} or not. * <p> * Shortcut for {@code getService(ArtifactManager.class).isSnapshot(...)}. * <p> * In case there is {@link Artifact} in scope, the recommended way to perform this check is * use of {@link Artifact#isSnapshot()} instead. * * @param version artifact versionCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 36.5K bytes - Click Count (0)