Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for setRepositories (0.1 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

        public List<ArtifactRepository> getRepositories() {
            if (repositories == null) {
                return Collections.emptyList();
            }
    
            return Collections.unmodifiableList(repositories);
        }
    
        public MetadataResolutionResult 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.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

                }
    
                profile.setActivation(activation);
            }
    
            profile.setProperties(profileXmlProfile.getProperties());
    
            List repos = profileXmlProfile.getRepositories();
            if (repos != null) {
                for (Object repo : repos) {
                    profile.addRepository(convertFromProfileXmlRepository((org.apache.maven.profiles.Repository) repo));
                }
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/RemoteRepository.java

     * </p>
     *
     *
     * @since 4.0.0
     * @see Repository
     * @see LocalRepository
     * @see Session#getSettings()
     * @see ModelBase#getRepositories()
     * @see ModelBase#getPluginRepositories()
     */
    @Experimental
    @Immutable
    public interface RemoteRepository extends Repository {
    
        @Nonnull
        String getUrl();
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top