Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getLastUpdated (0.08 sec)

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

            assertTrue(target.merge(source));
    
            // NOTE! Merge updates last updated to source
            assertEquals("20200921071745", source.getVersioning().getLastUpdated());
    
            assertEquals("myArtifact", target.getArtifactId());
            assertEquals("myGroup", target.getGroupId());
    
            assertEquals(3, target.getVersioning().getSnapshot().getBuildNumber());
    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. api/maven-api-metadata/src/main/mdo/metadata.mdo

                    versioning.setLastUpdated( v.getLastUpdated() );
                }
    
                if ( v.getLastUpdated() == null || v.getLastUpdated().length() == 0
                     || versioning.getLastUpdated().compareTo( v.getLastUpdated() ) >= 0 )
                {
                    changed = true;
                    v.setLastUpdated( versioning.getLastUpdated() );
    
                    if ( versioning.getRelease() != null )
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

                versioning.setLastUpdatedTimestamp(timestamp);
                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)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

            if (versioning.getRelease() != null && !versioning.getRelease().isEmpty()) {
                merge(RELEASE, infos, versioning.getLastUpdated(), versioning.getRelease(), repository);
            }
    
            if (versioning.getLatest() != null && !versioning.getLatest().isEmpty()) {
                merge(LATEST, infos, versioning.getLastUpdated(), versioning.getLatest(), repository);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                Versioning versioningRef = reference.getVersioning();
                if (versioning != null && versioningRef != null) {
                    String lastUpdated = versioning.getLastUpdated();
                    String now = versioningRef.getLastUpdated();
                    if (lastUpdated != null && now != null && now.compareTo(lastUpdated) < 0) {
                        getLogger()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

        }
    
        @Override
        protected void merge(Metadata recessive) {
            metadata.getVersioning().setLastUpdatedTimestamp(timestamp);
    
            String lastUpdated = metadata.getVersioning().getLastUpdated();
    
            Map<String, SnapshotVersion> versions = new LinkedHashMap<>();
    
            for (Artifact artifact : artifacts) {
                SnapshotVersion sv = new SnapshotVersion();
    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