- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for ENV (0.14 sec)
-
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) -
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) -
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) -
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) -
apache-maven/src/assembly/maven/conf/settings.xml
| or the command line, profiles have to have an ID that is unique. | | An encouraged best practice for profile identification is to use a consistent naming convention | for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey', 'user-brett', etc. | This will make it more intuitive to understand what the set of introduced profiles is attempting
XML - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Jun 19 15:06:01 GMT 2023 - 11K bytes - Viewed (0) -
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)