Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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 {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  2. 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)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  3. 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)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/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.
     */
    class LocalSnapshotMetadataGenerator implements MetadataGenerator {
    
        private final Map<Object, LocalSnapshotMetadata> snapshots;
    
        private final Date timestamp;
    
    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)
  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);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  6. 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)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 11 12:20:44 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  7. 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?
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5K bytes
    - Viewed (0)
  8. 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.
         */
        int getNature();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  9. 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)
  10. 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} */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 9.2K bytes
    - Viewed (0)
Back to top