Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for MAVEN_HOME (0.13 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                context.systemPropertiesOverrides.put(MAVEN_HOME, result.toString());
            } else {
                String mavenHome = System.getProperty(Constants.MAVEN_HOME);
                if (mavenHome == null) {
                    throw new ParserException("local mode requires " + Constants.MAVEN_HOME + " Java System Property set");
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                Path mavenSystemHome = properties.containsKey("maven.home")
                        ? Paths.get(properties.get("maven.home"))
                        : properties.containsKey("env.MAVEN_HOME") ? Paths.get(properties.get("env.MAVEN_HOME")) : null;
    
                DefaultRepositorySystemSession rsession = new DefaultRepositorySystemSession(h -> false);
                rsession.setSystemProperties(properties);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java

    /**
     * Configuration constants.
     */
    public final class Constants {
    
        /**
         * Maven home.
         *
         * @since 3.0.0
         */
        @Config(readOnly = true)
        public static final String MAVEN_HOME = "maven.home";
    
        /**
         * Maven installation configuration directory.
         *
         * @since 4.0.0
         */
        @Config(defaultValue = "${maven.home}/conf")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:24:08 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                    .filter(k -> !sys.contains(k.getKey()))
                    .forEach(k -> System.setProperty(k.getKey(), k.getValue()));
            System.setProperty(
                    Constants.MAVEN_HOME, invokerRequest.installationDirectory().toString());
        }
    
        protected void validate(C context) throws Exception {}
    
        protected void prepare(C context) throws Exception {}
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top