- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for Workspace (0.32 sec)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
} 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) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java
import org.apache.maven.repository.Proxy; /** * Abstraction of an artifact repository. Artifact repositories can be remote, local, or even build reactor or * IDE workspace. * * @deprecated Avoid use of this type, if you need access to local repository use repository system classes instead. */ @Deprecated public interface ArtifactRepository { String pathOf(Artifact artifact);
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-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/plugin-manager.txt
h3. Resolving the dependencies of a plugin
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/LocalArtifactRepository.java
/** * LocalArtifactRepository */ @Deprecated public abstract class LocalArtifactRepository extends MavenArtifactRepository { public static final String IDE_WORKSPACE = "ide-workspace"; public abstract Artifact find(Artifact artifact); public abstract boolean hasLocalMetadata();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
// 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) -
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 { model = null; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
// Desired order of precedence for workspace readers before querying the local artifact repositories Set<WorkspaceReader> workspaceReaders = new LinkedHashSet<>(); // 1) Reactor workspace reader WorkspaceReader reactorReader = lookup.lookup(WorkspaceReader.class, ReactorReader.HINT); workspaceReaders.add(reactorReader); // 2) Repository system session-scoped workspace reader (contains ide and exec request reader)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 27.5K bytes - Viewed (1) -
compat/maven-compat/src/main/java/org/apache/maven/repository/DelegatingLocalArtifactRepository.java
import org.apache.maven.artifact.repository.MavenArtifactRepository; import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout; /** * Delegating local artifact repository chains the reactor, IDE workspace * and user local repository. */ @Deprecated public class DelegatingLocalArtifactRepository extends MavenArtifactRepository { private LocalArtifactRepository buildReactor;
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-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
.setMessage(e.getMessage()) .setException(e)); return null; } } // no workspace resolver or workspace resolver returned null (i.e. model not in workspace) if (importModel == null) { final ModelSource importSource; try { importSource = modelResolver.resolveModel(dependency);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 83.6K bytes - Viewed (0)