- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for getWorkspaceReader (0.11 sec)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
MAVEN_METADATA_XML, 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 {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 20.3K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
metadataRequests.add(metadataRequest); } List<MetadataResult> metadataResults = metadataResolver.resolveMetadata(session, metadataRequests); WorkspaceReader workspace = session.getWorkspaceReader(); if (workspace != null) { List<String> versions = workspace.findVersions(request.getArtifact()); for (String version : versions) {
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/execution/DefaultMavenExecutionRequest.java
copy.setPluginArtifactRepositories(original.getPluginArtifactRepositories()); copy.setRepositoryCache(original.getRepositoryCache()); copy.setWorkspaceReader(original.getWorkspaceReader()); copy.setNoSnapshotUpdates(original.isNoSnapshotUpdates()); copy.setExecutionListener(original.getExecutionListener()); copy.setUseLegacyLocalRepository(original.isUseLegacyLocalRepository());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 31.7K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java
try (CloseableSession repoSession = repositorySystemSessionFactory .newRepositorySessionBuilder(request) .setWorkspaceReader(new MavenChainedWorkspaceReader(request.getWorkspaceReader(), ideWorkspaceReader)) .build()) { MavenSession mSession = new MavenSession(repoSession, request, new DefaultMavenExecutionResult());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
RepositorySystemSession repositorySession = legacySupport.getRepositorySession(); final WorkspaceReader workspace = repositorySession.getWorkspaceReader(); Model model; if (workspace instanceof MavenWorkspaceReader) { model = ((MavenWorkspaceReader) workspace).findModel(RepositoryUtils.toArtifact(artifact)); } else {
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-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
} Model model; // TODO hack: don't rebuild model if it was already loaded during reactor resolution final WorkspaceReader workspace = session.getWorkspaceReader(); if (workspace instanceof MavenWorkspaceReader) { model = ((MavenWorkspaceReader) workspace).findModel(pomArtifact); if (model != null) { return model;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java
List<ArtifactRepository> getPluginArtifactRepositories(); MavenExecutionRequest setRepositoryCache(RepositoryCache repositoryCache); RepositoryCache getRepositoryCache(); WorkspaceReader getWorkspaceReader(); MavenExecutionRequest setWorkspaceReader(WorkspaceReader workspaceReader); File getUserToolchainsFile(); MavenExecutionRequest setUserToolchainsFile(File userToolchainsFile);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
} public static WorkspaceRepository getWorkspace(RepositorySystemSession session) { WorkspaceReader reader = session.getWorkspaceReader(); return (reader != null) ? reader.getRepository() : null; } public static boolean repositoriesEquals(List<RemoteRepository> r1, List<RemoteRepository> r2) { if (r1.size() != r2.size()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
// sessionScope.enter(); MavenChainedWorkspaceReader chainedWorkspaceReader = new MavenChainedWorkspaceReader(request.getWorkspaceReader(), ideWorkspaceReader); try (CloseableSession closeableSession = newCloseableSession(request, chainedWorkspaceReader)) { MavenSession session = new MavenSession(closeableSession, request, result);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 27.5K bytes - Viewed (1)