Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for getRemoteRepositories (0.14 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java

                        request.getArtifact(),
                        toList(result.getArtifacts()),
                        result.getMissingArtifacts(),
                        request.getRemoteRepositories());
            }
    
            // this should never happen since we checked all possible error sources before but better be sure
            if (result.hasExceptions()) {
                throw new ArtifactResolutionException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/DefaultMetadataResolutionRequest.java

            repositoryRequest.setLocalRepository(localRepository);
    
            return this;
        }
    
        public List<ArtifactRepository> getRemoteRepositories() {
            return repositoryRequest.getRemoteRepositories();
        }
    
        public DefaultMetadataResolutionRequest setRemoteRepositories(List<ArtifactRepository> remoteRepositories) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                    .setShowErrors(true)
                    .setPluginGroups(Arrays.asList("org.apache.maven.plugins"))
                    .setLocalRepository(getLocalRepository())
                    .setRemoteRepositories(getRemoteRepositories())
                    .setPluginArtifactRepositories(getPluginArtifactRepositories())
                    .setGoals(Arrays.asList("package"));
    
            if (pom != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

                AuthenticationSelector authenticationSelector) {
            injectMirror(mavenExecutionRequest.getRemoteRepositories(), mavenExecutionRequest.getMirrors());
            injectProxy(proxySelector, mavenExecutionRequest.getRemoteRepositories());
            injectAuthentication(authenticationSelector, mavenExecutionRequest.getRemoteRepositories());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java

         */
        public DefaultRepositoryRequest(RepositoryRequest repositoryRequest) {
            setLocalRepository(repositoryRequest.getLocalRepository());
            setRemoteRepositories(repositoryRequest.getRemoteRepositories());
            setOffline(repositoryRequest.isOffline());
            setForceUpdate(repositoryRequest.isForceUpdate());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java

        }
    
        public List<ArtifactVersion> retrieveAvailableVersions(MetadataResolutionRequest request)
                throws ArtifactMetadataRetrievalException {
            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
    - 3.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionRequest.java

            return this;
        }
    
        /**
         * @deprecated instead use {@link #getRemoteRepositories()}
         */
        @Deprecated
        public List<ArtifactRepository> getRemoteRepostories() {
            return remoteRepositories;
        }
    
        public List<ArtifactRepository> getRemoteRepositories() {
            return getRemoteRepostories();
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. 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)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

        @Inject
        private ResolutionErrorHandler resolutionErrorHandler;
    
        @Inject
        private PlexusContainer container;
    
        protected List<ArtifactRepository> getRemoteRepositories() throws Exception {
            File repoDir = new File(getBasedir(), "src/test/remote-repo").getAbsoluteFile();
    
            RepositoryPolicy policy = new RepositoryPolicy();
            policy.setEnabled(true);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            for (ArtifactRepository repo : getRemoteRepositories()) {
                if (repo.getId() != null && repo.getId().equals(repository.getId())) {
                    return this;
                }
            }
    
            getRemoteRepositories().add(repository);
    
            return this;
        }
    
        @Override
        public List<ArtifactRepository> getRemoteRepositories() {
            if (remoteRepositories == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
Back to top