Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for setRepositories (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

        @Nonnull
        Optional<Source> getSource();
    
        boolean isAllowStubModel();
    
        boolean isRecursive();
    
        boolean isProcessPlugins();
    
        @Nullable
        List<RemoteRepository> getRepositories();
    
        @Nonnull
        static ProjectBuilderRequest build(@Nonnull Session session, @Nonnull Source source) {
            return builder()
                    .session(nonNull(session, "session cannot be null"))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. 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)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            assertProblemFree(collector);
    
            assertEquals(
                    "file://localhost/myBasedir/temp-repo", (out.getRepositories().get(0)).getUrl());
        }
    
        @Test
        public void testBaseUri() throws Exception {
            Model model = Model.newBuilder()
                    .version("3.8.1")
                    .artifactId("foo")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestMavenWorkspaceReader.java

                Repository repository = new Repository();
                repository.setId(REPO_ID);
                repository.setUrl(REPO_URL);
                repository.setLayout(REPO_LAYOUT);
                m.getRepositories().add(repository);
                return m;
            }
            return null;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                                .repositories(settings.getRepositories())
                                .pluginRepositories(settings.getPluginRepositories())
                                .build());
                RepositoryFactory repositoryFactory = session.getService(RepositoryFactory.class);
                List<RemoteRepository> repositories = profile.getRepositories().stream()
                        .map(repositoryFactory::createRemote)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top