Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for getSnapshot (0.26 sec)

  1. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

                Versioning versioning = new Versioning();
                versioning.setSnapshot(snapshot);
                versioning.setLastUpdatedTimestamp(timestamp);
                lastUpdated = versioning.getLastUpdated();
    
                metadata.setVersioning(versioning);
            } else {
                snapshot = metadata.getVersioning().getSnapshot();
                lastUpdated = metadata.getVersioning().getLastUpdated();
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

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

            metadata.merge(new Metadata());
    
            String dateAfter = gregorianDate();
    
            String ts = metadata.metadata.getVersioning().getSnapshot().getTimestamp();
            String datePart = DATE_FILTER.matcher(ts).replaceAll("");
    
            /* Allow for this test running across midnight */
            Set<String> expected = new HashSet<>(Arrays.asList(dateBefore, dateAfter));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. 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)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                        if (m.getVersioning().getSnapshot() == null) {
                            m.getVersioning().setSnapshot(new Snapshot());
                        }
                    } else {
                        if ((m.getVersioning() != null)
                                && (m.getVersioning().getSnapshot() != null)
                                && m.getVersioning().getSnapshot().isLocalCopy()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. api/maven-api-metadata/src/main/mdo/metadata.mdo

                    }
    
                    Snapshot s = v.getSnapshot();
                    Snapshot snapshot = versioning.getSnapshot();
                    if ( snapshot != null )
                    {
                        boolean updateSnapshotVersions = false;
                        if ( s == null )
                        {
                            s = new Snapshot();
                            v.setSnapshot( s );
                            changed = true;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                ArtifactRepositoryPolicy policy = new ArtifactRepositoryPolicy(repository.getReleases());
                policy.merge(repository.getSnapshots());
                return policy;
            } else if ((nature & RepositoryMetadata.SNAPSHOT) != 0) {
                return repository.getSnapshots();
            } else {
                return repository.getReleases();
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/DelegatingLocalArtifactRepository.java

        @Override
        public ArtifactRepositoryPolicy getReleases() {
            return userLocalArtifactRepository.getReleases();
        }
    
        @Override
        public ArtifactRepositoryPolicy getSnapshots() {
            return userLocalArtifactRepository.getSnapshots();
        }
    
        @Override
        public String getKey() {
            return userLocalArtifactRepository.getKey();
        }
    
        @Override
        public String getUrl() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

            repo.setLayout(profileXmlRepo.getLayout());
            repo.setName(profileXmlRepo.getName());
            repo.setUrl(profileXmlRepo.getUrl());
    
            if (profileXmlRepo.getSnapshots() != null) {
                repo.setSnapshots(convertRepositoryPolicy(profileXmlRepo.getSnapshots()));
            }
            if (profileXmlRepo.getReleases() != null) {
                repo.setReleases(convertRepositoryPolicy(profileXmlRepo.getReleases()));
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top