Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for Versioning (0.08 sec)

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

                result.addException(e);
            }
    
            return (versioning != null) ? versioning : new Versioning();
        }
    
        private Versioning filterVersionsByRepositoryType(Versioning versioning, RemoteRepository remoteRepository) {
            if (remoteRepository == null) {
                return versioning;
            }
    
            Versioning filteredVersions = versioning.clone();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java

            Versioning versioning = new Versioning();
            // TODO Should this be changed for MNG-6754 too?
            versioning.updateTimestamp();
            versioning.addVersion(artifact.getVersion());
    
            if (artifact.isRelease()) {
                versioning.setRelease(artifact.getVersion());
            }
    
            return new ArtifactRepositoryMetadata(artifact, versioning);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

                snapshot.setTimestamp(utcDateFormatter.format(timestamp));
    
                Versioning versioning = new Versioning();
                versioning.setSnapshot(snapshot);
                versioning.setLastUpdatedTimestamp(timestamp);
                lastUpdated = versioning.getLastUpdated();
    
                metadata.setVersioning(versioning);
            } else {
                snapshot = metadata.getVersioning().getSnapshot();
    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

                Artifact artifact, Map<String, VersionInfo> infos, Versioning versioning, ArtifactRepository repository) {
            if (versioning.getRelease() != null && !versioning.getRelease().isEmpty()) {
                merge(RELEASE, infos, versioning.getLastUpdated(), versioning.getRelease(), repository);
            }
    
            if (versioning.getLatest() != null && !versioning.getLatest().isEmpty()) {
    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/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) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

    import org.apache.maven.artifact.ArtifactUtils;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.versioning.ArtifactVersion;
    import org.apache.maven.artifact.versioning.Restriction;
    import org.apache.maven.artifact.versioning.VersionRange;
    
    /**
     * Metadata for the artifact directory of the repository.
     *
     */
    @Deprecated
    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-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

            Snapshot snapshot = new Snapshot();
            snapshot.setLocalCopy(true);
            Versioning versioning = new Versioning();
            versioning.setSnapshot(snapshot);
    
            Metadata metadata = new Metadata();
            metadata.setVersioning(versioning);
            metadata.setGroupId(artifact.getGroupId());
            metadata.setArtifactId(artifact.getArtifactId());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java

            metadata.setArtifactId(artifact.getArtifactId());
    
            Versioning versioning = new Versioning();
            versioning.addVersion(artifact.getBaseVersion());
            if (!artifact.isSnapshot()) {
                versioning.setRelease(artifact.getBaseVersion());
            }
            if ("maven-plugin".equals(artifact.getProperty(ArtifactProperties.TYPE, ""))) {
                versioning.setLatest(artifact.getBaseVersion());
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

        private static void addSnapshotVersionLegacy(Versioning versioning, Date timestamp, int buildNumber) {
            Snapshot snapshot = new Snapshot();
            snapshot.setBuildNumber(buildNumber);
            snapshot.setTimestamp(formatDate(timestamp, true));
    
            versioning.setSnapshot(snapshot);
            versioning.setLastUpdatedTimestamp(timestamp);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

            }
    
            Versioning versioning = new Versioning();
            // TODO Should this be changed for MNG-6754 too?
            versioning.updateTimestamp();
            versioning.addVersion(artifact.getBaseVersion());
            if (artifact.isRelease()) {
                versioning.setRelease(artifact.getBaseVersion());
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top