- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 314 for isSnapshot (0.14 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java
if (isSnapshot(restriction.getLowerBound()) || isSnapshot(restriction.getUpperBound())) { return RELEASE_OR_SNAPSHOT; } } } return RELEASE; } private boolean isSnapshot(ArtifactVersion version) { return version != null && ArtifactUtils.isSnapshot(version.getQualifier()); }
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/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java
} public Object getKey() { return "snapshot " + artifact.getGroupId() + ":" + artifact.getArtifactId() + ":" + artifact.getBaseVersion(); } public boolean isSnapshot() { return artifact.isSnapshot(); } public int getNature() { return isSnapshot() ? SNAPSHOT : RELEASE; } public ArtifactRepository getRepository() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java
assertFalse(ArtifactUtils.isSnapshot(null)); assertFalse(ArtifactUtils.isSnapshot("")); assertFalse(ArtifactUtils.isSnapshot("1.2.3")); assertTrue(ArtifactUtils.isSnapshot("1.2.3-SNAPSHOT")); assertTrue(ArtifactUtils.isSnapshot("1.2.3-snapshot")); assertTrue(ArtifactUtils.isSnapshot("1.2.3-20090413.094722-2")); assertFalse(ArtifactUtils.isSnapshot("1.2.3-20090413X094722-2")); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java
String version = null; Snapshot snapshot = versioning.getSnapshot(); if (snapshot != null) { if (snapshot.getTimestamp() != null && snapshot.getBuildNumber() > 0) { String newVersion = snapshot.getTimestamp() + "-" + snapshot.getBuildNumber(); version = baseVersion.replace(Artifact.SNAPSHOT_VERSION, newVersion);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.4K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts
} else -> { "$baseVersion-${buildTimestamp.get()}" } } val isSnapshot = !finalRelease.isPresent && !rcNumber.isPresent && !milestoneNumber.isPresent moduleIdentity.version.convention(GradleVersion.version(versionNumber)) moduleIdentity.snapshot.convention(isSnapshot) moduleIdentity.buildTimestamp.convention(buildTimestamp) moduleIdentity.promotionBuild.convention(isPromotionBuild)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 4.9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java
import org.eclipse.aether.metadata.Metadata; import org.eclipse.aether.util.ConfigUtils; /** * Maven remote GAV level metadata generator. * <p> * Remote snapshot metadata converts artifact on-the-fly to use timestamped snapshot version, and enlist it accordingly. * * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead */ @Deprecated(since = "4.0.0")
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java
assertEquals("1.0", depArtifact.getVersion()); assertEquals("1.0", depArtifact.getBaseVersion()); assertNull(depArtifact.getFile()); assertFalse(depArtifact.isSnapshot()); assertEquals("", depArtifact.getClassifier()); assertEquals("jar", depArtifact.getExtension()); assertEquals("java", depArtifact.getProperty("language", null));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.9K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle
baselineUpgradedProperties = baselineUpgradedPropertiesFile } def checkBinaryCompatibility = tasks.register("checkBinaryCompatibility", gradlebuild.binarycompatibility.JapicmpTask) { def isSnapshot = moduleIdentity.snapshot inputs.property('acceptedViolations', acceptedViolations.toAcceptedChangesMap()) inputs.property("baseline.version", compatibilityBaselineVersion) inputs.property("currentVersion", baseVersion)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jul 26 08:15:16 UTC 2024 - 9.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java
throws RepositoryMetadataResolutionException { RepositoryMetadata metadata; // Don't use snapshot metadata for LATEST (which isSnapshot returns true for) if (!artifact.isSnapshot() || Artifact.LATEST_VERSION.equals(artifact.getBaseVersion())) { metadata = new ArtifactRepositoryMetadata(artifact); } else {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java
import org.eclipse.aether.metadata.Metadata; import org.eclipse.aether.util.ConfigUtils; /** * Maven local GAV level metadata generator. * <p> * Local snapshot metadata contains non-transformed snapshot version. * * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead */ @Deprecated(since = "4.0.0") class LocalSnapshotMetadataGenerator implements MetadataGenerator {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0)