- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 148 for snapshot (0.17 sec)
-
maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
// if the POM didn't exist, retry if any repo is configured to always update boolean snapshot = pomArtifact.isSnapshot(); for (ArtifactRepository repository : remoteRepositories) { ArtifactRepositoryPolicy policy = snapshot ? repository.getSnapshots() : repository.getReleases();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Jun 15 14:24:56 GMT 2023 - 11.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/AbstractCacheTest.java
cache.invalidateAll(toInvalidate); assertEquals(toInvalidate, invalidated); } public void testEmptySimpleStats() { StatsCounter counter = new SimpleStatsCounter(); CacheStats stats = counter.snapshot(); assertEquals(0, stats.requestCount()); assertEquals(0, stats.hitCount()); assertEquals(1.0, stats.hitRate()); assertEquals(0, stats.missCount()); assertEquals(0.0, stats.missRate());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 6.2K 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(); /** * Shortcut for {@code session.createArtifactCoordinate(artifact)} *
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Dec 15 15:48:33 GMT 2023 - 3K bytes - Viewed (0) -
maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java
assertVersionOlder("1.0.0-SNAPSHOT", "1.1-SNAPSHOT"); assertVersionOlder("1.1-SNAPSHOT", "1.2.0-SNAPSHOT"); // assertVersionOlder( "1.0-alpha-1-SNAPSHOT", "1.0-SNAPSHOT" ); assertVersionOlder("1.0-alpha-1-SNAPSHOT", "1.0-alpha-2-SNAPSHOT"); assertVersionOlder("1.0-alpha-1-SNAPSHOT", "1.0-beta-1-SNAPSHOT"); assertVersionOlder("1.0-beta-1-SNAPSHOT", "1.0-SNAPSHOT-SNAPSHOT");
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 9.5K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java
throws Exception { Artifact i = createRemoteArtifact("i", "1.0-SNAPSHOT"); deleteLocalArtifact(i); Artifact j = createRemoteArtifact("j", "1.0-SNAPSHOT"); deleteLocalArtifact(j); ArtifactResolutionResult result = artifactResolver.resolveTransitively(
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 10.1K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
* 1. 1.2.7 == 1.2.7 * 1.2.7 > 1.2-SNAPSHOT * 2. 1.2-SNAPSHOT == 1.2-snapshot * </pre> * * @param args the version strings to parse and compare. You can pass arbitrary number of version strings and always * two adjacent will be compared. */ // CHECKSTYLE_ON: LineLength public static void main(String... args) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 26K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/RemoteSnapshotMetadata.java
Snapshot snapshot; String lastUpdated; if (metadata.getVersioning() == null) { DateFormat utcDateFormatter = new SimpleDateFormat(DEFAULT_SNAPSHOT_TIMESTAMP_FORMAT); utcDateFormatter.setCalendar(new GregorianCalendar()); utcDateFormatter.setTimeZone(DEFAULT_SNAPSHOT_TIME_ZONE); snapshot = Snapshot.newBuilder()
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 10:10:21 GMT 2024 - 5.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelVersionParser.java
*/ @Nonnull VersionConstraint parseVersionConstraint(@Nonnull String constraint); /** * Checks whether a given artifact version is considered a {@code SNAPSHOT} or not. */ boolean isSnapshot(@Nonnull String version);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.7K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
* DefaultRepositoryLayout does not correctly describe the layout of a local repository which unlike a remote * repository never uses timestamps in the filename of a snapshot artifact. The discrepancy gets notable when a * remotely resolved snapshot artifact gets passed into pathOf(). So producing a proper local artifact path * using DefaultRepositoryLayout requires us to enforce usage of the artifact's base version. This
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 07:40:37 GMT 2024 - 12.2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/VersionsMetadata.java
} @Override public String getVersion() { return ""; } @Override public Nature getNature() { return artifact.isSnapshot() ? Nature.RELEASE_OR_SNAPSHOT : Nature.RELEASE; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 10:10:21 GMT 2024 - 4.3K bytes - Viewed (0)