- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getPathForLocalArtifact (0.15 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
} @Override public LocalRepository getRepository() { return repository; } @Override public String getPathForLocalArtifact(Artifact artifact) { StringBuilder path = new StringBuilder(128); path.append(artifact.getGroupId()).append('/'); path.append(artifact.getExtension()).append("s/");
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
} @Override public LocalRepository getRepository() { return repo; } @Override public String getPathForLocalArtifact(Artifact artifact) { if (realLocalRepo) { return delegate.pathOf(RepositoryUtils.toArtifact(artifact.setVersion(artifact.getBaseVersion()))); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 13.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/LocalRepositoryManager.java
* @param artifact The artifact for which to determine the path, must not be {@code null}. * @return The path, resolved against the local repository's base directory. */ @Nonnull Path getPathForLocalArtifact(@Nonnull Session session, @Nonnull LocalRepository local, @Nonnull Artifact artifact); /** * Gets the relative path for an artifact cached from a remote repository.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 3.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
* @return local path associated to the given artifact, or {@code null} if none * * @see org.apache.maven.api.services.LocalRepositoryManager#getPathForLocalArtifact(Session, LocalRepository, Artifact) */ Path getPathForLocalArtifact(@Nonnull Artifact artifact); /** * Gets the relative path for an artifact cached from a remote repository.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 36.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
LocalRepositoryManager lrm = session.getLocalRepositoryManager(); String path = lrm.getPathForLocalArtifact(artifactRequest.getArtifact()); artifact.setFile(new File(lrm.getRepository().getBasedir(), path)); RepositorySystem repoSystem = container.lookup(RepositorySystem.class);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 25K bytes - Viewed (0)