Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for env (0.16 sec)

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

     * @since 3.0
     */
    public class EnvironmentUtils {
    
        private static Properties envVars;
    
        /**
         * Adds the environment variables in the form of properties whose keys are prefixed with {@code env.}, e.g. {@code
         * env.PATH}. Unlike native environment variables, properties are always case-sensitive. For the sake of
         * determinism, the environment variable names will be normalized to upper case on platforms with case-insensitive
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:01:36 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  2. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

        }
    
        @Provides
        static Session newSession(RepositorySystem system, Lookup lookup) {
            Map<String, String> properties = new HashMap<>();
            // Env variables prefixed with "env."
            System.getenv().forEach((k, v) -> properties.put("env." + k, v));
            // Java System properties
            System.getProperties().forEach((k, v) -> properties.put(k.toString(), v.toString()));
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

            valueSources.add(new AbstractValueSource(false) {
                @Override
                public Object getValue(String expression) {
                    return request.getSystemProperties().get("env." + expression);
                }
            });
    
            valueSources.add(prefixlessObjectBasedValueSource);
    
            return valueSources;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * Returns immutable system properties to use for interpolation. The system properties are collected from the
         * runtime environment such as {@link System#getProperties()} and environment variables
         * (prefixed with {@code env.}).
         *
         * @return the system properties, never {@code null}
         */
        @Nonnull
        Map<String, String> getSystemProperties();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

            valueSources.add(new AbstractValueSource(false) {
    
                public Object getValue(String expression) {
                    return config.getExecutionProperties().getProperty("env." + expression);
                }
            });
            valueSources.add(modelValueSource2);
    
            return valueSources;
        }
    
        protected List<InterpolationPostProcessor> createPostProcessors(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 13.5K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

            tm1.addProvide("version", "1.5");
            tm1.addProvide("vendor", "sun");
            Xpp3Dom configuration1 = new Xpp3Dom("configuration");
            Xpp3Dom jdkHome1 = new Xpp3Dom("jdkHome");
            jdkHome1.setValue("${env.JAVA_HOME}");
            configuration1.addChild(jdkHome1);
            tm1.setConfiguration(configuration1);
    
            ToolchainModel tm2 = new ToolchainModel();
            tm1.setType("jdk");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            sessionBuilder.setArtifactTypeRegistry(new TypeRegistryAdapter(typeRegistry)); // dynamic
            sessionBuilder.setCache(request.getRepositoryCache());
    
            // this map is read ONLY to get config from (profiles + env + system + user)
            Map<String, String> mergedProps = createMergedProperties(request);
    
            // configProps map is kept "pristine", is written ONLY, the mandatory resolver config
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 27.5K bytes
    - Viewed (0)
Back to top