Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for getEffectiveProperties (0.13 seconds)

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

         */
        @Nonnull
        Map<String, String> getSystemProperties();
    
        /**
         * Returns the properly overlaid map of properties: system + user.
         */
        @Nonnull
        Map<String, String> getEffectiveProperties();
    
        /**
         * Returns the start time of the session.
         *
         * @return the start time as an Instant object, never {@code null}
         */
        @Nonnull
        Instant getStartTime();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

            return Collections.unmodifiableMap(new PropertiesAsMap(getMavenSession().getSystemProperties()));
        }
    
        @Nonnull
        @Override
        public Map<String, String> getEffectiveProperties(@Nullable Project project) {
            HashMap<String, String> result = new HashMap<>(getSystemProperties());
            if (project != null) {
                result.putAll(project.getModel().getProperties());
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Default implementation at {@link ProtoSession} level, as the notion of project
         * does not exist there.
         */
        @Nonnull
        default Map<String, String> getEffectiveProperties() {
            return getEffectiveProperties(null);
        }
    
        /**
         * Each invocation computes a new map of effective properties. To be used in interpolation.
         * <p>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            // user override
            String userDefinedLocalRepo =
                    context.protoSession.getEffectiveProperties().get(Constants.MAVEN_REPO_LOCAL);
            if (userDefinedLocalRepo == null) {
                userDefinedLocalRepo = context.protoSession.getEffectiveProperties().get(Constants.MAVEN_REPO_LOCAL);
                if (userDefinedLocalRepo != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

            container.setLoggerManager(createLoggerManager());
            ProtoSession protoSession = context.protoSession;
            UnaryOperator<String> extensionSource = protoSession.getEffectiveProperties()::get;
            List<Throwable> failures = new ArrayList<>();
            for (LoadedCoreExtension extension : loadedExtensions) {
                container.discoverComponents(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

                            "The specified user toolchains file does not exist: " + userToolchainsFile);
                }
            } else {
                String userToolchainsFileStr =
                        context.protoSession.getEffectiveProperties().get(Constants.MAVEN_USER_TOOLCHAINS);
                if (userToolchainsFileStr != null) {
                    userToolchainsFile = context.cwd.resolve(userToolchainsFileStr);
                }
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
Back to Top