Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for getLocalRepository (0.11 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            }
    
            ResolutionGroup cached = cache.get(
                    artifact,
                    request.isResolveManagedVersions(),
                    request.getLocalRepository(),
                    request.getRemoteRepositories());
    
            if (cached != null
                    // if the POM has no file, we cached a missing artifact, only return the cached data if no update forced
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                    ArtifactRepository repository = metadataResult.getRequest().getRepository();
                    if (repository == null) {
                        repository = session.getLocalRepository();
                    }
    
                    Versioning v = readVersions(session, trace, metadataResult.getMetadata(), repository, result);
                    merge(artifact, infos, v, repository);
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/ProjectBuilderConfiguration.java

    import org.apache.maven.profiles.ProfileManager;
    
    /**
     * @deprecated use {@link ProjectBuildingRequest} instead
     */
    @Deprecated
    public interface ProjectBuilderConfiguration {
    
        ArtifactRepository getLocalRepository();
    
        ProfileManager getGlobalProfileManager();
    
        Properties getUserProperties();
    
        Properties getExecutionProperties();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/LatestArtifactTransformation.java

                    }
    
                    artifact.setBaseVersion(version);
                    artifact.updateVersion(version, request.getLocalRepository());
                } catch (RepositoryMetadataResolutionException e) {
                    throw new ArtifactResolutionException(e.getMessage(), artifact, e);
                }
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java

        }
    
        public ResolutionGroup retrieve(MetadataResolutionRequest request) throws ArtifactMetadataRetrievalException {
            return retrieve(request.getArtifact(), request.getLocalRepository(), request.getRemoteRepositories());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

        private List<Proxy> proxies;
    
        public ArtifactResolutionRequest() {
            // nothing here
        }
    
        public ArtifactResolutionRequest(RepositoryRequest request) {
            setLocalRepository(request.getLocalRepository());
            setRemoteRepositories(request.getRemoteRepositories());
            setOffline(request.isOffline());
            setForceUpdate(request.isForceUpdate());
        }
    
        public Artifact getArtifact() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java

                    }
    
                    artifact.setBaseVersion(version);
                    artifact.updateVersion(version, request.getLocalRepository());
                } catch (RepositoryMetadataResolutionException e) {
                    throw new ArtifactResolutionException(e.getMessage(), artifact, e);
                }
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryRequest.java

        /**
         * Gets the local repository to use.
         *
         * @return The local repository to use or {@code null} if not set.
         */
        ArtifactRepository getLocalRepository();
    
        /**
         * Sets the local repository to use.
         *
         * @param localRepository The local repository to use.
         * @return This request, never {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionRequest.java

        public ArtifactMetadata getQuery() {
            return query;
        }
    
        public void setQuery(ArtifactMetadata query) {
            this.query = query;
        }
    
        public ArtifactRepository getLocalRepository() {
            return localRepository;
        }
    
        public void setLocalRepository(ArtifactRepository localRepository) {
            this.localRepository = localRepository;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

                    return retrieve(request.getArtifact(), request.getLocalRepository(), request.getRemoteRepositories());
                }
    
                @Override
                public List<ArtifactVersion> retrieveAvailableVersions(MetadataResolutionRequest request) {
                    return retrieveAvailableVersions(
                            request.getArtifact(), request.getLocalRepository(), request.getRemoteRepositories());
                }
            };
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top