Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for SystemProperties (0.07 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/properties/internal/SystemProperties.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.properties.internal;
    
    import java.util.Properties;
    
    /**
     * @since 3.2.3
     */
    public class SystemProperties {
        /**
         * Thread-safe System.properties copy implementation.
         */
        public static void addSystemProperties(Properties props) {
            props.putAll(getSystemProperties());
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

        public Properties getSystemProperties() {
            if (systemProperties == null) {
                systemProperties = new Properties();
            }
    
            return systemProperties;
        }
    
        @Override
        public DefaultModelBuildingRequest setSystemProperties(Properties systemProperties) {
            if (systemProperties != null) {
                this.systemProperties = new Properties();
                synchronized (
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseInvokerRequest.java

            this.userHomeDirectory = requireNonNull(userHomeDirectory);
    
            this.userProperties = requireNonNull(userProperties);
            this.systemProperties = requireNonNull(systemProperties);
            this.topDirectory = requireNonNull(topDirectory);
            this.rootDirectory = rootDirectory;
            this.coreExtensions = coreExtensions;
            this.ciInfo = ciInfo;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java

                        Map<String, String> systemProperties,
                        Instant startTime,
                        Path topDirectory,
                        Path rootDirectory) {
                    this.userProperties = Map.copyOf(userProperties);
                    this.systemProperties = Map.copyOf(systemProperties);
                    Map<String, String> cp = new HashMap<>(systemProperties);
                    cp.putAll(userProperties);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

                this.inactiveProfileIds = inactiveProfileIds;
                return this;
            }
    
            public ModelBuilderRequestBuilder systemProperties(Map<String, String> systemProperties) {
                this.systemProperties = systemProperties;
                return this;
            }
    
            public ModelBuilderRequestBuilder userProperties(Map<String, String> userProperties) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingRequest.java

        public Properties getSystemProperties() {
            if (systemProperties == null) {
                systemProperties = new Properties();
            }
    
            return systemProperties;
        }
    
        @Override
        public DefaultSettingsBuildingRequest setSystemProperties(Properties systemProperties) {
            if (systemProperties != null) {
                this.systemProperties = new Properties();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            }
            systemProperties.setProperty(Constants.MAVEN_VERSION_MAJOR, versionElements[0]);
            systemProperties.setProperty(Constants.MAVEN_VERSION_MINOR, versionElements[1]);
            systemProperties.setProperty(Constants.MAVEN_VERSION_PATCH, versionElements[2]);
            systemProperties.setProperty(Constants.MAVEN_VERSION_SNAPSHOT, Boolean.toString(snapshot));
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:39:11 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

         */
        @SuppressWarnings("unchecked")
        public DefaultProfileActivationContext setSystemProperties(Properties systemProperties) {
            if (systemProperties != null) {
                this.systemProperties = Collections.unmodifiableMap((Map) systemProperties);
            } else {
                this.systemProperties = Collections.emptyMap();
            }
    
            return this;
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/AbstractProfileActivatorTest.java

            activator = null;
        }
    
        protected ProfileActivationContext newContext(final Properties userProperties, final Properties systemProperties) {
            DefaultProfileActivationContext context = new DefaultProfileActivationContext();
            return context.setUserProperties(userProperties).setSystemProperties(systemProperties);
        }
    
        protected void assertActivation(boolean active, Profile profile, ProfileActivationContext context) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    or(paths::getProperty, prefix("cli.", commandLine::getOptionValue), systemProperties::getProperty);
    
            Path mavenConf;
            if (systemProperties.getProperty(MAVEN_INSTALLATION_CONF) != null) {
                mavenConf = fileSystem.getPath(systemProperties.getProperty(MAVEN_INSTALLATION_CONF));
            } else if (systemProperties.getProperty("maven.conf") != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
Back to top