Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getPluginRepositories (0.24 sec)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/merge/MavenSettingsMerger.java

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

                } catch (InvalidRepositoryException e) {
                    // do nothing for now
                }
            }
    
            for (Repository pluginRepository : settings.getPluginRepositories()) {
                try {
                    request.addPluginArtifactRepository(MavenRepositorySystem.buildArtifactRepository(pluginRepository));
                } 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)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                    && profile.getSubprojects().isEmpty()
                    && profile.getProperties().isEmpty()
                    && profile.getRepositories().isEmpty()
                    && profile.getPluginRepositories().isEmpty()
                    && profile.getReporting() == null;
        }
    
        private static <T extends ModelBase.Builder> T prune(T builder, ModelBase model) {
            builder.properties(null).reporting(null);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileToRawModelMerger.java

                ModelBase target,
                ModelBase source,
                boolean sourceDominant,
                Map<Object, Object> context) {
            builder.pluginRepositories(source.getPluginRepositories());
        }
    
        @Override
        protected void mergeModelBase_Repositories(
                ModelBase.Builder builder,
                ModelBase target,
                ModelBase source,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

                    profile.addRepository(convertFromProfileXmlRepository((org.apache.maven.profiles.Repository) repo));
                }
            }
    
            List pluginRepos = profileXmlProfile.getPluginRepositories();
            if (pluginRepos != null) {
                for (Object pluginRepo : pluginRepos) {
                    profile.addPluginRepository(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

                        } catch (InvalidRepositoryException e) {
                            // do nothing for now
                        }
                    }
    
                    List<Repository> pluginRepositories = rawProfile.getPluginRepositories();
                    for (Repository pluginRepo : pluginRepositories) {
                        try {
                            request.addPluginArtifactRepository(MavenRepositorySystem.buildArtifactRepository(pluginRepo));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                validateUniqueRepositoryIds(
                        true,
                        m.getPluginRepositories(),
                        profile.getPluginRepositories(),
                        externalRepositoriesSource,
                        problems);
            }
        }
    
        private void validateUniqueRepositoryIds(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                } catch (InvalidRepositoryException e) {
                    // do nothing for now
                }
            }
    
            for (Repository pluginRepository : settings.getPluginRepositories()) {
                try {
                    request.addPluginArtifactRepository(MavenRepositorySystem.buildArtifactRepository(
                            new org.apache.maven.settings.Repository(pluginRepository)));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

            Model source = new Model();
            source.setPluginRepositories( Arrays.asList( repository ) );
    
            modelMerger.merge( target, source, true, null );
    
            assertThat( target.getPluginRepositories(), contains( repository ) );
        }
    
        @Test
        public void mergeSameProfiles()
        {
            Profile profile = new Profile();
            profile.setId( "profile" );
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                        .convert(org.apache.maven.api.settings.Profile.newBuilder()
                                .repositories(settings.getRepositories())
                                .pluginRepositories(settings.getPluginRepositories())
                                .build());
                RepositoryFactory repositoryFactory = session.getService(RepositoryFactory.class);
                List<RemoteRepository> repositories = profile.getRepositories().stream()
    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