Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getEffectiveToolchains (0.21 sec)

  1. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            assertNotNull(result.getEffectiveToolchains());
            assertEquals(1, result.getEffectiveToolchains().getToolchains().size());
            assertEquals(
                    "TYPE", result.getEffectiveToolchains().getToolchains().get(0).getType());
            assertEquals(
                    "user_value",
                    result.getEffectiveToolchains()
                            .getToolchains()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingResult.java

    @Deprecated(since = "4.0.0")
    public interface ToolchainsBuildingResult {
    
        /**
         * Gets the assembled toolchains.
         *
         * @return The assembled toolchains, never {@code null}.
         */
        PersistedToolchains getEffectiveToolchains();
    
        /**
         * Return a list of problems, if any.
         *
         * @return a list of problems, never {@code null}.
         */
        List<Problem> getProblems();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderResult.java

    @Experimental
    public interface ToolchainsBuilderResult {
        /**
         * Gets the assembled toolchains.
         *
         * @return the assembled toolchains, never {@code null}
         */
        @Nonnull
        PersistedToolchains getEffectiveToolchains();
    
        /**
         * Gets the problems that were encountered during the settings building. Note that only problems of severity
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuildingResult.java

            this.effectiveToolchains = effectiveToolchains;
            this.problems = (problems != null) ? problems : new ArrayList<>();
        }
    
        @Override
        public PersistedToolchains getEffectiveToolchains() {
            return effectiveToolchains;
        }
    
        @Override
        public List<Problem> getProblems() {
            return problems;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

                        .build());
    
                return new DefaultToolchainsBuildingResult(
                        new PersistedToolchains(result.getEffectiveToolchains()), convert(result.getProblems()));
            } catch (ToolchainsBuilderException e) {
                throw new ToolchainsBuildingException(convert(e.getProblems()));
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            context.mavenExecutionRequestPopulator.populateFromToolchains(
                    context.mavenExecutionRequest,
                    new org.apache.maven.toolchain.model.PersistedToolchains(toolchainsResult.getEffectiveToolchains()));
    
            if (!toolchainsResult.getProblems().isEmpty()) {
                context.logger.warn("");
                context.logger.warn("Some problems were encountered while building the effective toolchains");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            eventSpyDispatcher.onEvent(toolchainsResult);
    
            executionRequestPopulator.populateFromToolchains(cliRequest.request, toolchainsResult.getEffectiveToolchains());
    
            if (!toolchainsResult.getProblems().isEmpty() && slf4jLogger.isWarnEnabled()) {
                slf4jLogger.warn("");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top