- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for findVersions (0.1 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/DelegatingLocalArtifactRepository.java
} @Override public List<String> findVersions(Artifact artifact) { Collection<String> versions = new LinkedHashSet<>(); if (buildReactor != null) { versions.addAll(buildReactor.findVersions(artifact)); } if (ideWorkspace != null) { versions.addAll(ideWorkspace.findVersions(artifact)); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestMavenWorkspaceReader.java
return WORKSPACE_REPOSITORY; } @Override public File findArtifact(Artifact artifact) { return null; } @Override public List<String> findVersions(Artifact artifact) { return Collections.emptyList(); } @Override public Model findModel(Artifact artifact) { if (GROUP_ID.equals(artifact.getGroupId())
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java
* @return The available versions of the artifact or an empty list if none, never {@code null}. * @since 3.0-alpha-3 */ List<String> findVersions(Artifact artifact); /** * Indicates whether this repository is backed by actual projects. For instance, the build reactor or IDE workspace * are examples of such repositories. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (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) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java
artifact.setFile(artifactFile); if (artifactFile.exists()) { artifact.setResolved(true); } return artifact; } public List<String> findVersions(Artifact artifact) { return Collections.emptyList(); } public boolean isProjectAware() { return false; } public Authentication getAuthentication() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.3K bytes - Viewed (0) -
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) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11K bytes - Viewed (0) -
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) -
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) -
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)