Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for getMirror (0.09 sec)

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

         * @param mirrors The available mirrors, may be {@code null}.
         * @return The mirror specification for the repository or {@code null} if no mirror matched.
         */
        Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

        private static final String WILDCARD = "*";
    
        private static final String EXTERNAL_WILDCARD = "external:*";
    
        private static final String EXTERNAL_HTTP_WILDCARD = "external:http:*";
    
        public Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors) {
            String repoId = repository.getId();
    
            if (repoId != null && mirrors != null) {
                for (Mirror mirror : mirrors) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. 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)
  4. 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
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

         * @param mirrors The available mirrors, may be {@code null}.
         * @return The mirror specification for the repository or {@code null} if no mirror matched.
         */
        Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors);
    
        /**
         * Injects the mirroring information into the specified repositories. For each repository that is matched by a
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. 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)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/UpdateCheckManager.java

    @Deprecated
    public interface UpdateCheckManager {
    
        boolean isUpdateRequired(Artifact artifact, ArtifactRepository repository);
    
        void touch(Artifact artifact, ArtifactRepository repository, String error);
    
        String getError(Artifact artifact, ArtifactRepository repository);
    
        boolean isUpdateRequired(RepositoryMetadata metadata, ArtifactRepository repository, File file);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

            this.artifactUri = artifactUri;
        }
    
        public String getWhy() {
            return why;
        }
    
        public void setWhy(String why) {
            this.why = why;
        }
    
        public String getError() {
            return error;
        }
    
        public void setError(String error) {
            this.error = error;
        }
    
        public boolean isError() {
            return error == null;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                                edge.isResolved(),
                                edge.getTarget() == null
                                        ? null
                                        : edge.getTarget().getMd().getError());
                        MetadataGraphVertex newV = res.addVertex(newMd);
                        MetadataGraphVertex sourceV = res.addVertex(edge.getSource().getMd());
    
                        res.addEdge(sourceV, newV, edge);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

                    .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)
Back to top