Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getToolchains (0.1 sec)

  1. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/merge/MavenToolchainMergerTest.java

                PersistedToolchains jdksExtra = read(jdksExtraIS);
                assertEquals(2, jdks.getToolchains().size());
    
                merger.merge(jdks, jdksExtra, TrackableBase.USER_LEVEL);
                assertEquals(4, jdks.getToolchains().size());
                assertEquals(2, jdksExtra.getToolchains().size());
            }
            try (InputStream jdksIS = MavenToolchainMergerTest.class.getResourceAsStream("toolchains-jdks.xml");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainManager.java

        }
    
        @Override
        public List<Toolchain> getToolchains(Session session, String type, Map<String, String> requirements)
                throws ToolchainManagerException {
            MavenSession s = InternalMavenSession.from(session).getMavenSession();
            List<org.apache.maven.toolchain.Toolchain> toolchains =
                    toolchainManagerPrivate.getToolchains(s, type, requirements);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManager.java

         * @param type
         * @param requirements
         * @return the selected {@link Toolchain}s
         * @throws ToolchainManagerException if an exception occurs
         */
        @Nonnull
        List<Toolchain> getToolchains(@Nonnull Session session, String type, Map<String, String> requirements);
    
        /**
         *
         * @param session
         * @param type
         * @return the selected {@link Toolchain}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

                for (ToolchainModel model : toolchains.getToolchains()) {
                    if (!groupedToolchains.containsKey(model.getType())) {
                        groupedToolchains.put(model.getType(), new ArrayList<>());
                    }
    
                    groupedToolchains.get(model.getType()).add(model);
                }
    
                request.setToolchains(groupedToolchains);
            }
            return request;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top