Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for global (0.2 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilder.java

    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Builds the effective toolchains from a user toolchains file and/or a global toolchains file.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ToolchainsBuilder extends Service {
    
        /**
         * Builds the effective toolchains for the specified toolchains files.
         *
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/settings/MavenSettingsBuilder.java

        String ROLE = MavenSettingsBuilder.class.getName();
    
        String ALT_USER_SETTINGS_XML_LOCATION = "org.apache.maven.user-settings";
        String ALT_GLOBAL_SETTINGS_XML_LOCATION = "org.apache.maven.global-settings";
        String ALT_LOCAL_REPOSITORY_LOCATION = "maven.repo.local";
    
        Settings buildSettings(MavenExecutionRequest request) throws IOException, XmlPullParserException;
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilder.java

    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.settings.Settings;
    
    /**
     * Builds the effective settings from a user settings file and/or a global settings file.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface SettingsBuilder extends Service {
    
        /**
         * Builds the effective settings of the specified settings files.
         *
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

        public Settings buildSettings(File userSettingsFile) throws IOException, XmlPullParserException {
            File globalSettingsFile = getFile(
                    "${maven.conf}/settings.xml", "maven.conf", MavenSettingsBuilder.ALT_GLOBAL_SETTINGS_XML_LOCATION);
    
            SettingsBuildingRequest request = new DefaultSettingsBuildingRequest();
            request.setUserSettingsFile(userSettingsFile);
            request.setGlobalSettingsFile(globalSettingsFile);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  5. apache-maven/src/test/java/org/apache/maven/settings/GlobalSettingsTest.java

    import org.apache.maven.api.settings.InputSource;
    import org.apache.maven.settings.v4.SettingsStaxReader;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests that the global settings.xml shipped with the distribution is in good state.
     *
     */
    class GlobalSettingsTest {
    
        @Test
        void testValidGlobalSettings() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

     */
    @Experimental
    @Immutable
    public interface SettingsBuilderRequest {
    
        @Nonnull
        Session getSession();
    
        /**
         * Gets the global settings source.
         *
         * @return the global settings source or {@code null} if none
         */
        @Nonnull
        Optional<Source> getGlobalSettingsSource();
    
        /**
         * Gets the project settings source.
         *
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

                            relocation.global ? "User global relocation" : "User project relocation");
                    LOGGER.debug(
                            "The artifact {} has been relocated to {}: {}",
                            original,
                            result,
                            relocation.global ? "User global relocation" : "User project relocation");
                    return result;
                }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. apache-maven/src/assembly/maven/conf/settings.xml

              xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.3.0 https://maven.apache.org/xsd/settings-1.3.0.xsd">
      <!-- localRepository
       | The path to the local repository maven will use to store artifacts.
       |
       | Default: ${user.home}/.m2/repository
      <localRepository>/path/to/local/repo</localRepository>
      -->
    
      <!-- interactiveMode
       | This will determine whether maven prompts you when it needs input. If set to false,
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jun 19 15:06:01 GMT 2023
    - 11K bytes
    - Viewed (0)
  9. api/maven-api-settings/src/main/mdo/settings.mdo

            this instance (USER|GLOBAL)
          </description>
          <codeSegments>
            <codeSegment>
              <version>1.0.0/1.3.0</version>
              <code>
        public static final String USER_LEVEL = "user-level";
        public static final String PROJECT_LEVEL = "project-level";
        public static final String GLOBAL_LEVEL = "global-level";
    
        private String sourceLevel = USER_LEVEL;
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Feb 17 18:40:11 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                 * global profile manager which is required to build a POM like a CLI invocation does. Failure to consider
                 * the activated profiles can cause repo declarations to be lost which in turn will result in artifact
                 * resolution failures, in particular when using the enhanced local repo which guards access to local files
                 * based on the configured remote repos.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 12.1K bytes
    - Viewed (0)
Back to top