Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for isSnapshot (0.2 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

        }
    
        /**
         * Shortcut for <code>getService(VersionParser.class).isSnapshot(...)</code>
         *
         * @see VersionParser#isSnapshot(String)
         */
        @Override
        public boolean isVersionSnapshot(@Nonnull String version) {
            return getService(VersionParser.class).isSnapshot(version);
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

        }
    
        /**
         * Shortcut for <code>getService(VersionParser.class).isSnapshot(...)</code>
         *
         * @see VersionParser#isSnapshot(String)
         */
        @Override
        public boolean isVersionSnapshot(@Nonnull String version) {
            return getService(VersionParser.class).isSnapshot(version);
        }
    
        /**
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  3. 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()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  4. 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 version
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  5. 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)
  6. 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()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  7. 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 allow
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  8. maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        }
    
        @Override
        public void setArtifactId(String artifactId) {
            this.artifactId = artifactId;
        }
    
        @Override
        public boolean isSnapshot() {
            return getBaseVersion() != null
                    && (getBaseVersion().endsWith(SNAPSHOT_VERSION)
                            || getBaseVersion().equals(LATEST_VERSION));
        }
    
        @Override
        public void setResolved(boolean resolved) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Feb 09 19:20:54 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  9. 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)));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  10. .teamcity/src/test/kotlin/PromotionProjectTests.kt

            assertEquals(10, model.buildTypes.size)
            assertEquals(
                listOf("SanityCheck", "Nightly Snapshot", "Nightly Snapshot (from QuickFeedback)", "Nightly Snapshot (from QuickFeedback) - Check Ready", "Nightly Snapshot (from QuickFeedback) - Upload", "Nightly Snapshot (from QuickFeedback) - Promote", "Publish Branch Snapshot (from Quick Feedback)", "Release - Milestone", "Start Release Cycle", "Start Release Cycle Test"),
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Feb 13 14:18:23 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top