Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getEffectiveProperties (0.29 sec)

  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();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. 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) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
  3. 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());
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. 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(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

        public PluginParameterExpressionEvaluatorV4(Session session, Project project, MojoExecution mojoExecution) {
            this.session = session;
            this.mojoExecution = mojoExecution;
            this.properties = session.getEffectiveProperties(project);
            this.project = project;
    
            Path basedir = null;
    
            if (project != null) {
                Path projectFile = project.getBasedir();
                basedir = projectFile.toAbsolutePath();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. 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>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  7. 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);
                }
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
Back to top