Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for getSnapshots (0.35 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                List<ArtifactRepositoryPolicy> snapshotPolicies = new ArrayList<>(aliasedRepos.size());
    
                for (ArtifactRepository aliasedRepo : aliasedRepos) {
                    snapshotPolicies.add(aliasedRepo.getSnapshots());
                }
    
                ArtifactRepositoryPolicy snapshotPolicy = getEffectivePolicy(snapshotPolicies);
    
                ArtifactRepository aliasedRepo = aliasedRepos.get(0);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

                        if (releases != null) {
                            sb.append(", releases=").append(releases.isEnabled());
                        }
    
                        ArtifactRepositoryPolicy snapshots = remoteRepository.getSnapshots();
                        if (snapshots != null) {
                            sb.append(", snapshots=").append(snapshots.isEnabled());
                        }
    
                        sb.append(')');
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            }
    
            public String getId() {
                return repository.getId();
            }
    
            public void setId(String id) {}
    
            public ArtifactRepositoryPolicy getSnapshots() {
                return null;
            }
    
            public void setSnapshotUpdatePolicy(ArtifactRepositoryPolicy policy) {}
    
            public ArtifactRepositoryPolicy getReleases() {
                return null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

            return layout;
        }
    
        public void setSnapshotUpdatePolicy(ArtifactRepositoryPolicy snapshots) {
            this.snapshots = snapshots;
        }
    
        public ArtifactRepositoryPolicy getSnapshots() {
            return snapshots;
        }
    
        public void setReleaseUpdatePolicy(ArtifactRepositoryPolicy releases) {
            this.releases = releases;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

        @Override
        public boolean isUpdateRequired(Artifact artifact, ArtifactRepository repository) {
            File file = artifact.getFile();
    
            ArtifactRepositoryPolicy policy = artifact.isSnapshot() ? repository.getSnapshots() : repository.getReleases();
    
            if (!policy.isEnabled()) {
                if (getLogger().isDebugEnabled()) {
                    getLogger()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            if (repo != null) {
                RemoteRepository.Builder builder =
                        new RemoteRepository.Builder(repo.getId(), getLayout(repo), repo.getUrl());
                builder.setSnapshotPolicy(toPolicy(repo.getSnapshots()));
                builder.setReleasePolicy(toPolicy(repo.getReleases()));
                builder.setAuthentication(toAuthentication(repo.getAuthentication()));
                builder.setProxy(toProxy(repo.getProxy()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                throws TransferFailedException, ResourceDoesNotExistException {
            String remotePath = repository.pathOf(artifact);
    
            ArtifactRepositoryPolicy policy = artifact.isSnapshot() ? repository.getSnapshots() : repository.getReleases();
    
            if (!policy.isEnabled()) {
                logger.debug(
                        "Skipping disabled repository " + repository.getId() + " for resolution of " + artifact.getId());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                                if (versioning != null
                                        && repository instanceof LocalRepository
                                        && versioning.getSnapshot() != null
                                        && versioning.getSnapshot().getBuildNumber() > 0) {
                                    final Versioning repaired = new Versioning();
                                    repaired.setLastUpdated(versioning.getLastUpdated());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

                lastUpdated = versioning.getLastUpdated();
    
                metadata.setVersioning(versioning);
            } else {
                snapshot = metadata.getVersioning().getSnapshot();
                lastUpdated = metadata.getVersioning().getLastUpdated();
            }
    
            for (Artifact artifact : artifacts) {
                String version = artifact.getVersion();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

            if ((repoMetadata != null)
                    && (repoMetadata.getVersioning() != null
                            && repoMetadata.getVersioning().getSnapshot() != null)) {
                buildNumber = repoMetadata.getVersioning().getSnapshot().getBuildNumber();
            }
            return buildNumber;
        }
    
        public static DateFormat getUtcDateFormatter() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top