Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkSnapshot (0.24 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

            return new DefaultVersionRange(versionScheme, range);
        }
    
        @Override
        public boolean isSnapshot(String version) {
            return checkSnapshot(version);
        }
    
        public static boolean checkSnapshot(String version) {
            return version.endsWith(SNAPSHOT) || SNAPSHOT_TIMESTAMP.matcher(version).matches();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

            Versioning filteredVersions = versioning.clone();
    
            for (String version : versioning.getVersions()) {
                if (!remoteRepository
                        .getPolicy(DefaultModelVersionParser.checkSnapshot(version))
                        .isEnabled()) {
                    filteredVersions.removeVersion(version);
                }
            }
    
            return filteredVersions;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top