Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for env (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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