Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getPathForLocalArtifact (0.29 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            realLocalRepo = (layout instanceof DefaultRepositoryLayout) && "local".equals(delegate.getId());
        }
    
        public LocalRepository getRepository() {
            return repo;
        }
    
        public String getPathForLocalArtifact(Artifact artifact) {
            if (realLocalRepo) {
                return delegate.pathOf(RepositoryUtils.toArtifact(artifact.setVersion(artifact.getBaseVersion())));
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                File dir = event.getSession().getLocalRepository().getBasedir();
                dir = new File(
                        dir, event.getSession().getLocalRepositoryManager().getPathForLocalArtifact(event.getArtifact()));
                trackingDir = dir.getParentFile().toPath().resolve(".tracking");
            } else {
                trackingDir = event.getFile().getParentFile().toPath().resolve(".tracking");
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  4. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top