- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 343 for isSnapshot (0.04 sec)
-
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 allowRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 9.4K bytes - Viewed (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()) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 18.9K bytes - Viewed (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}.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jun 26 07:56:58 UTC 2025 - 4.6K bytes - Viewed (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)); } @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 14.6K bytes - Viewed (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(),Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (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 versionRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 36.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
ArtifactRepositoryPolicy policy = artifact.isSnapshot() ? repository.getSnapshots() : repository.getReleases(); if (!policy.isEnabled()) { logger.debug( "Skipping disabled repository " + repository.getId() + " for resolution of " + artifact.getId()); } else if (artifact.isSnapshot() || !artifact.getFile().exists()) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 29.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
if (artifact.isSnapshot()) { Matcher matcher = Artifact.VERSION_FILE_PATTERN.matcher(artifact.getVersion()); if (matcher.matches()) { Snapshot snapshot = new Snapshot(); snapshot.setTimestamp(matcher.group(2)); try { snapshot.setBuildNumber(Integer.parseInt(matcher.group(3)));Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 25K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java
} return pluginArtifactRepositories; } @Deprecated public ArtifactRepository getDistributionManagementArtifactRepository() { return getArtifact().isSnapshot() && (getSnapshotArtifactRepository() != null) ? getSnapshotArtifactRepository() : getReleaseArtifactRepository(); } public List<Repository> getPluginRepositories() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Aug 29 12:47:20 UTC 2025 - 67K bytes - Viewed (0) -
compat/maven-compat/src/test/resources/local-repo/snapshot-test/poms/maven-test-snapshot-resolving-1.0.pom
</dependency> <dependency> <groupId>snapshot-test</groupId> <artifactId>maven-snapshot-b</artifactId> <version>1.0-SNAPSHOT</version> <type>jar</type> <scope>compile</scope> </dependency> <dependency> <groupId>snapshot-test</groupId> <artifactId>maven-snapshot-c</artifactId> <version>1.0-SNAPSHOT</version> <type>jar</type> <scope>compile</scope>Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.4K bytes - Viewed (0)