Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for mavenHome (0.05 sec)

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

            if (context.parserRequest.mavenHome() != null) {
                Path result = getCanonicalPath(context.parserRequest.mavenHome());
                context.systemPropertiesOverrides.put(Constants.MAVEN_HOME, result.toString());
                return result;
            } else {
                String mavenHome = System.getProperty(Constants.MAVEN_HOME);
                if (mavenHome == null) {
                    throw new IllegalStateException(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:39:11 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  2. impl/maven-cli/pom.xml

              </properties>
              <promoteUserPropertiesToSystemProperties>false</promoteUserPropertiesToSystemProperties>
              <systemPropertyVariables>
                <maven.home>${basedir}/src/test/resources/mavenHome</maven.home>
                <userHome>${basedir}/src/test/resources/userHome</userHome>
                <userDir>${basedir}/src/test/resources/userDir</userDir>
              </systemPropertyVariables>
            </configuration>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
  4. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 10 16:40:06 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 10 16:40:06 UTC 2025
    - 10.7K bytes
    - Viewed (3)
  6. .github/workflows/maven.yml

                rm -r "maven-local/$MAVEN_DIR"
              else
                tar xzf maven-dist/apache-maven-*-bin.tar.gz -C maven-local --strip-components 1
              fi
              echo "MAVEN_HOME=$PWD/maven-local" >> $GITHUB_ENV
              echo "$PWD/maven-local/bin" >> $GITHUB_PATH
    
          - name: Build with downloaded Maven
            shell: bash
            run: mvn verify -Papache-release -Dgpg.skip=true -e -B -V
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 04:24:24 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

        }
    
        protected void pushCoreProperties(C context) throws Exception {
            System.setProperty(
                    Constants.MAVEN_HOME,
                    context.invokerRequest.installationDirectory().toString());
        }
    
        /**
         * Note: this method is called twice from {@link #doInvoke(LookupContext)} and modifies context. First invocation
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
Back to top