Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 335 for isSnapshot (0.14 sec)

  1. 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)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java

            metadata.setArtifactId(artifact.getArtifactId());
    
            Versioning versioning = new Versioning();
            versioning.addVersion(artifact.getBaseVersion());
            if (!artifact.isSnapshot()) {
                versioning.setRelease(artifact.getBaseVersion());
            }
            if ("maven-plugin".equals(artifact.getProperty(ArtifactProperties.TYPE, ""))) {
                versioning.setLatest(artifact.getBaseVersion());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadata.java

         */
        void setMetadata(Metadata metadata);
    
        /**
         * Whether this represents a snapshot.
         *
         * @return if it is a snapshot
         */
        boolean isSnapshot();
    
        /**
         * Gets the artifact quality this metadata refers to. One of {@link #RELEASE}, {@link #SNAPSHOT} or
         * {@link #RELEASE_OR_SNAPSHOT}.
         *
         * @return The artifact quality this metadata refers to.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

        }
    
        /** {@inheritDoc} */
        public void setArtifactId(String artifactId) {
            artifact.setArtifactId(artifactId);
        }
    
        /** {@inheritDoc} */
        public boolean isSnapshot() {
            return artifact.isSnapshot();
        }
    
        /** {@inheritDoc} */
        public int compareTo(Artifact a) {
            return artifact.compareTo(a);
        }
    
        /** {@inheritDoc} */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParser.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);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Dec 19 19:08:55 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt

            // Also expire version-specific cache snapshots when they can't be re-used (for 'snapshot-1' developer builds)
            val expireDistributionCache = Spec<GradleVersion> { candidateVersion ->
                (candidateVersion.isSnapshot && candidateVersion < gradleVersion)
                    || candidateVersion.version.endsWith("-snapshot-1")
            }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

             */
    
            if (artifact.isSnapshot()) {
                Snapshot snapshot = new Snapshot();
                snapshot.setLocalCopy(true);
                artifact.addMetadata(new SnapshotArtifactRepositoryMetadata(artifact, snapshot));
            }
    
            Versioning versioning = new Versioning();
            // TODO Should this be changed for MNG-6754 too?
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        void setVersionRange(VersionRange newRange);
    
        void selectVersion(String version);
    
        void setGroupId(String groupId);
    
        void setArtifactId(String artifactId);
    
        boolean isSnapshot();
    
        void setResolved(boolean resolved);
    
        boolean isResolved();
    
        void setResolvedVersion(String version);
    
        void setArtifactHandler(ArtifactHandler handler);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. 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
            )
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. 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() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top