Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for findVersions (0.07 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                throw new ArtifactMetadataRetrievalException(e.getMessage(), e, request.getArtifact());
            }
    
            List<String> availableVersions = request.getLocalRepository().findVersions(request.getArtifact());
    
            return retrieveAvailableVersionsFromMetadata(metadata.getMetadata(), availableVersions);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

            WorkspaceReader workspace = session.getWorkspaceReader();
            if (workspace != null) {
                List<String> versions = workspace.findVersions(request.getArtifact());
                for (String version : versions) {
                    versionIndex.put(version, workspace.getRepository());
                }
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

            // with multiple local repository implementations yet.
            artifact.setFile(artifactFile);
    
            return artifact;
        }
    
        public List<String> findVersions(Artifact artifact) {
            return Collections.emptyList();
        }
    
        public String getId() {
            return id;
        }
    
        public String getUrl() {
            return url;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            public org.apache.maven.artifact.Artifact find(org.apache.maven.artifact.Artifact artifact) {
                return null;
            }
    
            public List<String> findVersions(org.apache.maven.artifact.Artifact artifact) {
                return Collections.emptyList();
            }
    
            public boolean isProjectAware() {
                return false;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                        Metadata.Nature.RELEASE_OR_SNAPSHOT);
            } else if (version.endsWith(SNAPSHOT)) {
                WorkspaceReader workspace = session.getWorkspaceReader();
                if (workspace != null && workspace.findVersions(artifact).contains(version)) {
                    metadata = null;
                    result.setRepository(workspace.getRepository());
                } else {
                    metadata = new DefaultMetadata(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

            if (packagedArtifactFile != null && packagedArtifactFile.exists()) {
                return packagedArtifactFile;
            }
    
            return null;
        }
    
        public List<String> findVersions(Artifact artifact) {
            List<String> versions = getProjects()
                    .getOrDefault(artifact.getGroupId(), Collections.emptyMap())
                    .getOrDefault(artifact.getArtifactId(), Collections.emptyMap())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2_test.go

    		failOnErr(i+1, xl.AddVersion(fi))
    		fi.ExpireRestored = tc.expireRestored
    		fileInfos = append(fileInfos, fi)
    	}
    
    	for i, tc := range testCases {
    		_, version, err := xl.findVersion(uuid.MustParse(tc.versionID))
    		failOnErr(i+1, err)
    		if got := xl.SharedDataDirCount(version.getVersionID(), version.ObjectV2.DataDir); got != tc.shares {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top