Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getVersioning (0.08 sec)

  1. 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)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java

                }
                if (versioning.getRelease() == null) {
                    versioning.setRelease(recessive.getVersioning().getRelease());
                }
    
                Collection<String> versions =
                        new LinkedHashSet<>(recessive.getVersioning().getVersions());
                versions.addAll(versioning.getVersions());
                versioning.setVersions(new ArrayList<>(versions));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. 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) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

            Metadata repoMetadata = metadata.getMetadata();
            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)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java

                metadata.setPlugins(new ArrayList<>(mergedPlugins.values()));
            }
    
            // just carry-on as-is
            if (recessive.getVersioning() != null) {
                metadata.setVersioning(recessive.getVersioning());
            }
        }
    
        @Deprecated
        @Override
        public MavenMetadata setFile(File file) {
            return new PluginsMetadata(pluginInfo, file.toPath(), timestamp);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. 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 */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

            artifact.addMetadata(metadata);
    
            Metadata repoMetadata = metadata.getMetadata();
            String version = null;
            if (repoMetadata != null && repoMetadata.getVersioning() != null) {
                version = constructVersion(repoMetadata.getVersioning(), artifact.getBaseVersion());
            }
    
            if (version == null) {
                // use the local copy, or if it doesn't exist - go to the remote repo for it
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

            Metadata metadata = new Metadata();
            metadata.setGroupId(artifact.getGroupId());
            metadata.setArtifactId(artifact.getArtifactId());
            metadata.setVersion(artifact.getVersion());
            metadata.setVersioning(versioning);
            return metadata;
        }
    
        protected static Versioning createVersioning(Snapshot snapshot) {
            Versioning versioning = new Versioning();
            versioning.setSnapshot(snapshot);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top