Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for getRepositories (0.1 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                    if (artifactRequest != null && artifactRequest.getRepositories() != null) {
                        repositories.addAll(artifactRequest.getRepositories());
                    } else if (artifactDescriptorRequest != null && artifactDescriptorRequest.getRepositories() != null) {
                        repositories.addAll(artifactDescriptorRequest.getRepositories());
                    }
                    if (!repositories.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                            RemoteRepository r = (RemoteRepository) result.getRepository();
                            subRequest.setRepositories(Collections.singletonList(r));
                        } else {
                            subRequest.setRepositories(request.getRepositories());
                        }
                        VersionResult subResult = resolveVersion(session, subRequest);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

            List<MetadataRequest> metadataRequests =
                    new ArrayList<>(request.getRepositories().size());
    
            metadataRequests.add(new MetadataRequest(metadata, null, request.getRequestContext()));
    
            for (RemoteRepository repository : request.getRepositories()) {
                MetadataRequest metadataRequest = new MetadataRequest(metadata, repository, request.getRequestContext());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

    @Experimental
    public interface VersionRangeResolverRequest {
    
        @Nonnull
        Session getSession();
    
        @Nonnull
        ArtifactCoordinates getArtifactCoordinates();
    
        @Nullable
        List<RemoteRepository> getRepositories();
    
        @Nonnull
        static VersionRangeResolverRequest build(
                @Nonnull Session session, @Nonnull ArtifactCoordinates artifactCoordinates) {
            return build(session, artifactCoordinates, null);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverRequest.java

    @Experimental
    public interface VersionResolverRequest {
    
        @Nonnull
        Session getSession();
    
        @Nonnull
        ArtifactCoordinates getArtifactCoordinates();
    
        @Nullable
        List<RemoteRepository> getRepositories();
    
        @Nonnull
        static VersionResolverRequest build(@Nonnull Session session, @Nonnull ArtifactCoordinates artifactCoordinates) {
            return builder()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverRequest.java

    @Immutable
    public interface ArtifactResolverRequest {
        @Nonnull
        Session getSession();
    
        @Nonnull
        Collection<? extends ArtifactCoordinates> getCoordinates();
    
        @Nonnull
        List<RemoteRepository> getRepositories();
    
        @Nonnull
        static ArtifactResolverRequestBuilder builder() {
            return new ArtifactResolverRequestBuilder();
        }
    
        @Nonnull
        static ArtifactResolverRequest build(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                Artifact pomArtifact = ArtifactDescriptorUtils.toPomArtifactUnconditionally(a);
                try {
                    VersionRequest versionRequest =
                            new VersionRequest(a, request.getRepositories(), request.getRequestContext());
                    versionRequest.setTrace(trace);
                    VersionResult versionResult = versionResolver.resolveVersion(session, versionRequest);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

            try {
                List<ArtifactRepository> repositories = session.toArtifactRepositories(
                        request.getRepositories() != null ? request.getRepositories() : session.getRemoteRepositories());
                ProjectBuildingRequest req = new DefaultProjectBuildingRequest()
                        .setRepositorySession(session.getSession())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/merge/MavenSettingsMerger.java

            shallowMergeById(dominant.getProfiles(), recessive.getProfiles(), recessiveSourceLevel);
            shallowMergeById(dominant.getRepositories(), recessive.getRepositories(), recessiveSourceLevel);
            shallowMergeById(dominant.getPluginRepositories(), recessive.getPluginRepositories(), recessiveSourceLevel);
        }
    
        /**
         * @param dominant
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

            //   </mirror>
            // </mirrors>
    
            for (Mirror mirror : settings.getMirrors()) {
                request.addMirror(mirror);
            }
    
            for (Repository remoteRepository : settings.getRepositories()) {
                try {
                    request.addRemoteRepository(MavenRepositorySystem.buildArtifactRepository(remoteRepository));
                } catch (InvalidRepositoryException e) {
    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