Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for AddVersion (0.11 sec)

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

            if (versionConstraint.getRange() == null) {
                result.addVersion(versionConstraint.getVersion());
            } else {
                VersionRange.Bound lowerBound = versionConstraint.getRange().getLowerBound();
                if (lowerBound != null
                        && lowerBound.equals(versionConstraint.getRange().getUpperBound())) {
                    result.addVersion(lowerBound.getVersion());
                } else {
    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

        private ArtifactMetadata createMetadata(Artifact artifact) {
            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);
        }
    
    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. cmd/xl-storage-format-v2.go

    			x.versions = append(x.versions[:i], x.versions[i+1:]...)
    			if fi.MarkDeleted && (fi.VersionPurgeStatus().Empty() || (fi.VersionPurgeStatus() != Complete)) {
    				err = x.addVersion(ventry)
    			} else if fi.Deleted && uv.String() == emptyUUID {
    				return "", x.addVersion(ventry)
    			}
    			return "", err
    		case ObjectType:
    			if updateVersion && !fi.Deleted {
    				ver, err := x.getIdx(i)
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java

            Metadata metadata = new Metadata();
            metadata.setGroupId(artifact.getGroupId());
            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, ""))) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. 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());
            }
            artifact.addMetadata(new ArtifactRepositoryMetadata(artifact, versioning));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    		if err = xlMeta.AddVersion(fi); err != nil {
    			return err
    		}
    
    		buf, err = xlMeta.AppendTo(metaDataPoolGet())
    		defer metaDataPoolPut(buf)
    		if err != nil {
    			return err
    		}
    	} else {
    		if err = xlMeta.Load(buf); err != nil {
    			// Corrupted data, reset and write.
    			xlMeta = xlMetaV2{}
    		}
    
    		if err = xlMeta.AddVersion(fi); err != nil {
    			return err
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top