Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for Toolchains (0.1 sec)

  1. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

      xml.namespace="http://maven.apache.org/TOOLCHAINS/${version}"
      xml.schemaLocation="https://maven.apache.org/xsd/toolchains-${version}.xsd">
      <id>toolchains</id>
      <name>MavenToolchains</name>
      <description><![CDATA[
        This is a reference for the Maven Toolchains descriptor.
        <p>The default location for the toolchains file is {@code ~/.m2/toolchains.xml}
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManager.java

         * @return List of matching toolchains, never null
         * @throws ToolchainManagerException if toolchain retrieval fails
         */
        @Nonnull
        default List<Toolchain> getToolchains(@Nonnull Session session, @Nonnull String type)
                throws ToolchainManagerException {
            return getToolchains(session, type, null);
        }
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainsBuilder.java

        /**
         * Builds the toolchains model from the configured toolchain files.
         *
         * @param userToolchainsFile The path to the toolchains file, may be <code>null</code> to disable parsing.
         * @return The toolchains model or <code>null</code> if no toolchain file was configured or the configured file does
         *         not exist.
         * @throws MisconfiguredToolchainException If the toolchain file exists but cannot be parsed.
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java

     * under the License.
     */
    package org.apache.maven.toolchain;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    import java.io.InputStream;
    import java.nio.file.Files;
    
    import org.apache.maven.toolchain.model.PersistedToolchains;
    import org.apache.maven.toolchain.v4.MavenToolchainsStaxReader;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java

     * <pre>
     * Toolchain toolchain = ...; // Obtain a Toolchain instance
     * String type = toolchain.getType(); // Get the type of the toolchain
     * String version = toolchain.getVersion(); // Get the version of the toolchain
     * </pre>
     *
     *
     * @since 4.0.0
     * @see JavaToolchain
     * @see org.apache.maven.api.services.ToolchainManager
     */
    @Experimental
    public interface Toolchain {
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. apache-maven/src/assembly/maven/conf/maven-system.properties

    maven.user.settings         = ${maven.user.conf}/settings.xml
    
    #
    # Toolchains
    #
    # Define the default three levels for toolchains.
    # The '-it' flag will override the 'maven.installation.toolchains' property.
    # The '-t' flag will override the 'maven.user.toolchains' property.
    maven.installation.toolchains = ${maven.installation.conf}/toolchains.xml
    maven.user.toolchains         = ${maven.user.conf}/toolchains.xml
    
    #
    # Extensions
    #
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java

        /**
         * Gets the installation Toolchains source.
         *
         * @return the installation Toolchains source or {@code null} if none
         */
        @Nonnull
        Optional<Source> getInstallationToolchainsSource();
    
        /**
         * Gets the user Toolchains source.
         *
         * @return the user Toolchains source or {@code null} if none
         */
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

            org.apache.maven.api.Toolchain rareToolchain = mock(org.apache.maven.api.Toolchain.class);
            when(toolchainFactoryRareType.createToolchain(any())).thenReturn(rareToolchain);
    
            List<Toolchain> toolchains = toolchainManager.getToolchains(session, "rare", null);
    
            assertEquals(1, toolchains.size());
        }
    
        @Test
        void testModelsAndFactory() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManager.java

         * @return the toolchain selected by <code>maven-toolchains-plugin</code>
         */
        Toolchain getToolchainFromBuildContext(String type, MavenSession context);
    
        /**
         * Select all toolchains available in user settings matching the type and requirements,
         * independently from <code>maven-toolchains-plugin</code>.
         *
         * @param session the Maven session, must not be {@code null}
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderResult.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.toolchain.PersistedToolchains;
    
    /**
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ToolchainsBuilderResult extends Result<ToolchainsBuilderRequest> {
        /**
         * Gets the assembled toolchains.
         *
         * @return the assembled toolchains, never {@code null}
         */
        @Nonnull
        PersistedToolchains getEffectiveToolchains();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top