Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for setRepositories (0.35 sec)

  1. 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)
  2. 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)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java

        public void populateResult(RepositorySystemSession session, ArtifactDescriptorResult result, Model model) {
            ArtifactTypeRegistry stereotypes = session.getArtifactTypeRegistry();
    
            for (Repository r : model.getRepositories()) {
                result.addRepository(ArtifactDescriptorUtils.toRemoteRepository(r));
            }
    
            for (org.apache.maven.model.Dependency dependency : model.getDependencies()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                    @Override
                    public Artifact[] load(final ArtifactType key) {
                        final List<Artifact> list = new ArrayList<>();
                        for (final String url : getRepositories()) {
                            if (url.endsWith(".yaml")) {
                                if (key == ArtifactType.UNKNOWN) {
                                    list.addAll(loadArtifactsFromRepository(url));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 01:47:10 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

                if (settings.getActiveProfiles().contains(rawProfile.getId())) {
                    List<Repository> remoteRepositories = rawProfile.getRepositories();
                    for (Repository remoteRepository : remoteRepositories) {
                        try {
                            request.addRemoteRepository(MavenRepositorySystem.buildArtifactRepository(remoteRepository));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

        private PluginHelper pluginHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            pluginHelper = new PluginHelper() {
                protected String[] getRepositories() {
                    return new String[] { "plugin/repo1/", "plugin/repo2/" };
                }
    
                protected String getRepositoryContent(String url) {
                    if (url.endsWith("/")) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 12:38:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

         *
         * @return a filter for the types of path (class-path, module-path, …) accepted by the tool
         */
        @Nullable
        Predicate<PathType> getPathTypeFilter();
    
        @Nullable
        List<RemoteRepository> getRepositories();
    
        @Nonnull
        static DependencyResolverRequestBuilder builder() {
            return new DependencyResolverRequestBuilder();
        }
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                String externalRepositoriesSource = "external profile with id '" + profile.getId() + "' in settings.xml";
                validateUniqueRepositoryIds(
                        false, m.getRepositories(), profile.getRepositories(), externalRepositoriesSource, problems);
                validateUniqueRepositoryIds(
                        true,
                        m.getPluginRepositories(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            for (Mirror mirror : settings.getMirrors()) {
                request.addMirror(new org.apache.maven.settings.Mirror(mirror));
            }
    
            for (Repository remoteRepository : settings.getRepositories()) {
                try {
                    request.addRemoteRepository(MavenRepositorySystem.buildArtifactRepository(
                            new org.apache.maven.settings.Repository(remoteRepository)));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            List<ArtifactRepository> pomRepositories = new ArrayList<>();
            for (Repository modelRepository : model.getRepositories()) {
                try {
                    pomRepositories.add(MavenRepositorySystem.buildArtifactRepository(modelRepository));
                } catch (InvalidRepositoryException e) {
                    // can not use this then
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top