Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for getRepositories (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  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-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                DefaultModelProblemCollector problems,
                boolean replaceRepositories) {
            if (modelResolver != null) {
                for (org.apache.maven.api.model.Repository repository : model.getRepositories()) {
                    try {
                        modelResolver.addRepository(repository, replaceRepositories);
                    } catch (InvalidRepositoryException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
Back to top