Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for resolveArtifacts (0.11 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java

                }
            }
    
            return results;
        }
    
        public ArtifactResult resolveArtifact(RepositorySystemSession session, ArtifactRequest request)
                throws ArtifactResolutionException {
            return resolveArtifacts(session, Collections.singleton(request)).get(0);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            ArtifactResult artifactResult = system.resolveArtifact(session, artifactRequest);
            checkArtifactResult(artifactResult, "artifact-1.0.jar");
    
            artifact = new DefaultArtifact("ut.simple:artifact:zip:1.0");
            artifactRequest.setArtifact(artifact);
            artifactResult = system.resolveArtifact(session, artifactRequest);
            checkArtifactResult(artifactResult, "artifact-1.0.zip");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @see org.apache.maven.api.services.ArtifactResolver#resolve(Session, Collection)
         */
        @Nonnull
        Collection<DownloadedArtifact> resolveArtifacts(@Nonnull ArtifactCoordinates... coordinates);
    
        /**
         * Shortcut for {@code getService(ArtifactResolver.class).resolve(...)}.
         *
         * @param coordinates coordinates of all artifacts to resolve
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/MultipleArtifactsNotFoundException.java

            this.resolvedArtifacts = resolvedArtifacts;
            this.missingArtifacts = missingArtifacts;
        }
    
        /**
         * artifacts that could be resolved
         *
         * @return {@link List} of {@link Artifact}
         */
        public List<Artifact> getResolvedArtifacts() {
            return resolvedArtifacts;
        }
    
        /**
         * artifacts that could NOT be resolved
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            if (conflictResolvers == null) {
                conflictResolvers = Collections.singletonList(defaultConflictResolver);
            }
    
            Map<Object, List<ResolutionNode>> resolvedArtifacts = new LinkedHashMap<>();
    
            ResolutionNode root = new ResolutionNode(originatingArtifact, repositoryRequest.getRemoteRepositories());
    
            try {
    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. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

            try {
                ArtifactRequest request = new ArtifactRequest(pomArtifact, repositories, context);
                request.setTrace(trace);
                pomArtifact = resolver.resolveArtifact(session, request).getArtifact();
            } catch (ArtifactResolutionException e) {
                throw new UnresolvableModelException(e.getMessage(), groupId, artifactId, version, e);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                            new ArtifactRequest(pomArtifact, request.getRepositories(), request.getRequestContext());
                    resolveRequest.setTrace(trace);
                    resolveResult = artifactResolver.resolveArtifact(session, resolveRequest);
                    pomArtifact = resolveResult.getArtifact();
                    result.setRepository(resolveResult.getRepository());
                } catch (ArtifactResolutionException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    artifact.setFile(new File(lrm.getRepository().getBasedir(), path));
    
                    RepositorySystem repoSystem = container.lookup(RepositorySystem.class);
                    result = repoSystem.resolveArtifact(session, artifactRequest);
                } catch (ComponentLookupException e) {
                    throw new IllegalStateException("Unable to lookup " + RepositorySystem.class.getName());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top