Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for MAVEN_HOME (0.15 sec)

  1. apache-maven/src/assembly/maven/bin/mvn

      if expr "$link" : '/.*' > /dev/null; then
        PRG="$link"
      else
        PRG="`dirname "$PRG"`/$link"
      fi
    done
    
    saveddir=`pwd`
    
    MAVEN_HOME=`dirname "$PRG"`/..
    
    # make it fully qualified
    MAVEN_HOME=`cd "$MAVEN_HOME" && pwd`
    
    cd "$saveddir"
    
    CLASSWORLDS_CONF="$MAVEN_HOME/bin/m2.conf"
    
    # For Cygwin and MinGW, ensure paths are in Unix format before anything is touched
    if $cygwin || $mingw ; then
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 12:01:35 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. apache-maven/src/assembly/maven/bin/mvn.cmd

      goto error
    )
    :chkMHome
    set "MAVEN_HOME=%~dp0"
    set "MAVEN_HOME=%MAVEN_HOME:~0,-5%"
    if "%MAVEN_HOME%"=="" goto error
    
    :checkMCmd
    if not exist "%MAVEN_HOME%\bin\mvn.cmd" goto error
    
    @REM ==== END VALIDATION ====
    
    :init
    
    set "CLASSWORLDS_CONF=%MAVEN_HOME%\bin\m2.conf"
    
    @REM Find the project basedir, i.e., the directory that contains the directory ".mvn".
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 12:01:35 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            // Windows paths.
            //
            String mavenHome = System.getProperty(Constants.MAVEN_HOME);
    
            if (mavenHome != null) {
                System.setProperty(
                        Constants.MAVEN_HOME,
                        getCanonicalPath(fileSystem.getPath(mavenHome)).toString());
            }
        }
    
        void cli(CliRequest cliRequest) throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  6. 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)
  7. 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