Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for setMirrors (0.13 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            copy.setIgnoreTransitiveRepositories(original.isIgnoreTransitiveRepositories());
            copy.setProxies(original.getProxies());
            copy.setServers(original.getServers());
            copy.setMirrors(original.getMirrors());
            copy.setProfiles(original.getProfiles());
            copy.setPluginGroups(original.getPluginGroups());
            copy.setProjectPresent(original.isProjectPresent());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            injectSession1(request, session);
    
            if (session != null) {
                request.setServers(session.getRequest().getServers());
                request.setMirrors(session.getRequest().getMirrors());
                request.setProxies(session.getRequest().getProxies());
            }
        }
    
        public void resolve(
                Artifact artifact,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

                    .setOffline(session.isOffline())
                    .setForceUpdate(session.getRequest().isUpdateSnapshots());
            request.setServers(session.getRequest().getServers());
            request.setMirrors(session.getRequest().getMirrors());
            request.setProxies(session.getRequest().getProxies());
    
            for (MavenProject project : projects) {
                request.setArtifact(new ProjectArtifact(project));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

                servers = new ArrayList<>();
            }
    
            return servers;
        }
    
        public ArtifactResolutionRequest setMirrors(List<Mirror> mirrors) {
            this.mirrors = mirrors;
    
            return this;
        }
    
        public List<Mirror> getMirrors() {
            if (mirrors == null) {
                mirrors = new ArrayList<>();
            }
    
            return mirrors;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                request.setForceUpdate(session.getRequest().isUpdateSnapshots());
                request.setServers(session.getRequest().getServers());
                request.setMirrors(session.getRequest().getMirrors());
                request.setProxies(session.getRequest().getProxies());
            }
        }
    
        @SuppressWarnings("checkstyle:parameternumber")
        public ArtifactResolutionResult collect(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        List<Server> getServers();
    
        MavenExecutionRequest setServers(List<Server> servers);
    
        MavenExecutionRequest addServer(Server server);
    
        // Mirrors
        List<Mirror> getMirrors();
    
        MavenExecutionRequest setMirrors(List<Mirror> mirrors);
    
        MavenExecutionRequest addMirror(Mirror mirror);
    
        // Plugin groups
        List<String> getPluginGroups();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/merge/MavenSettingsMerger.java

                    || dominant.getLocalRepository().isEmpty()) {
                dominant.setLocalRepository(recessive.getLocalRepository());
            }
    
            shallowMergeById(dominant.getMirrors(), recessive.getMirrors(), recessiveSourceLevel);
            shallowMergeById(dominant.getServers(), recessive.getServers(), recessiveSourceLevel);
            shallowMergeById(dominant.getProxies(), recessive.getProxies(), recessiveSourceLevel);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

            injectProxy(proxySelector, mavenExecutionRequest.getRemoteRepositories());
            injectAuthentication(authenticationSelector, mavenExecutionRequest.getRemoteRepositories());
    
            injectMirror(mavenExecutionRequest.getPluginArtifactRepositories(), mavenExecutionRequest.getMirrors());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

            //     <mirrorOf>*</mirrorOf>
            //     <url>http://repository.sonatype.org/content/groups/public</url>
            //   </mirror>
            // </mirrors>
    
            for (Mirror mirror : settings.getMirrors()) {
                request.addMirror(mirror);
            }
    
            for (Repository remoteRepository : settings.getRepositories()) {
                try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

        @Deprecated
        public ArtifactRepository getMirrorRepository(ArtifactRepository repository) {
    
            Mirror mirror = mirrorSelector.getMirror(
                    repository, legacySupport.getSession().getSettings().getMirrors());
    
            if (mirror != null) {
                String id = mirror.getId();
                if (id == null) {
                    // TODO this should be illegal in settings.xml
                    id = repository.getId();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top