Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for getRemoteRepositories (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

                }
    
                @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)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                return artifacts;
            }
    
            public Map<String, Artifact> getManagedVersions() {
                return managedVersions;
            }
    
            public List<ArtifactRepository> getRemoteRepositories() {
                return remoteRepositories;
            }
    
            public boolean isStale() {
                File pomFile = pomArtifact.getFile();
                if (pomFile != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            ResolutionNode root = new ResolutionNode(originatingArtifact, repositoryRequest.getRemoteRepositories());
    
            try {
                root.addDependencies(artifacts, repositoryRequest.getRemoteRepositories(), filter);
            } catch (CyclicDependencyException e) {
                result.addCircularDependencyException(e);
    
                return result;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            // as well as its dependencies.
    
            if (request.isResolveRoot() /* && rootArtifact.getFile() == null */) {
                try {
                    resolve(rootArtifact, request.getRemoteRepositories(), session);
                } catch (ArtifactResolutionException e) {
                    result.addErrorArtifactException(e);
                    return result;
                } catch (ArtifactNotFoundException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

            artifact.setFile(localFile);
    
            if (!localFile.exists()) {
                if (request.getRemoteRepositories().isEmpty()) {
                    throw new IOException(localFile + " does not exist and no remote repositories are configured");
                }
    
                ArtifactRepository remoteRepo = request.getRemoteRepositories().get(0);
    
                File remoteFile = new File(remoteRepo.getBasedir(), remoteRepo.pathOf(artifact));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

            return this.classifier;
        }
    
        /** @return the path */
        public String getPath() {
            return this.path;
        }
    
        public List<ArtifactRepository> getRemoteRepositories() {
            return remoteRepositories;
        }
    
        public String getOriginalMessage() {
            return originalMessage;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                }
    
                MavenExecutionRequest req = session.getRequest();
                if (req != null) {
                    request.setRemoteRepositories(req.getRemoteRepositories());
                }
            } else {
                Properties props = new Properties();
                EnvironmentUtils.addEnvVars(props);
                props.putAll(System.getProperties());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top