Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for setRepositories (0.16 sec)

  1. 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)
  2. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

            Model target = new Model();
            target.setRepositories( Arrays.asList( repository ) );
    
            Model source = new Model();
            source.setRepositories( Arrays.asList( repository ) );
    
            modelMerger.merge( target, source, true, null );
    
            assertThat( target.getRepositories(), contains( repository ) );
        }
    
        @Test
        public void mergeSameRoles()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

        public List<ArtifactRepository> getRepositories() {
            if (repositories == null) {
                return Collections.emptyList();
            }
    
            return Collections.unmodifiableList(repositories);
        }
    
        public ArtifactResolutionResult setRepositories(final List<ArtifactRepository> repositories) {
            this.repositories = repositories;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                try {
                    ArtifactRequest artifactRequest = new ArtifactRequest();
                    artifactRequest.setArtifact(RepositoryUtils.toArtifact(artifact));
                    artifactRequest.setRepositories(RepositoryUtils.toRepos(remoteRepositories));
    
                    // Maven 2.x quirk: an artifact always points at the local repo, regardless whether resolved or not
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  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. 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)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                    && profile.getModules().isEmpty()
                    && profile.getSubprojects().isEmpty()
                    && profile.getProperties().isEmpty()
                    && profile.getRepositories().isEmpty()
                    && profile.getPluginRepositories().isEmpty()
                    && profile.getReporting() == null;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

         * User properties
         */
        @Nonnull
        Map<String, String> getUserProperties();
    
        @Nonnull
        RepositoryMerging getRepositoryMerging();
    
        @Nullable
        List<RemoteRepository> getRepositories();
    
        @Nullable
        ModelTransformer getLifecycleBindingsInjector();
    
        @Nonnull
        static ModelBuilderRequest build(@Nonnull ModelBuilderRequest request, @Nonnull ModelSource source) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top