Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for mavenHome (0.06 seconds)

  1. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

                return this;
            }
    
            public Builder cwd(Path cwd) {
                this.cwd = cwd;
                return this;
            }
    
            public Builder mavenHome(Path mavenHome) {
                this.mavenHome = mavenHome;
                return this;
            }
    
            public Builder userHome(Path userHome) {
                this.userHome = userHome;
                return this;
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  2. 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(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

        @Test
        public void testPropertiesInterpolation() throws Exception {
            FileSystem fs = Jimfs.newFileSystem(Configuration.windows());
    
            Path mavenHome = fs.getPath("C:\\maven");
            Files.createDirectories(mavenHome);
            Path mavenConf = mavenHome.resolve("conf");
            Files.createDirectories(mavenConf);
            Path mavenUserProps = mavenConf.resolve("maven-user.properties");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  4. 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>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  5. maven-tests/mvnw

    MAVEN_USER_HOME="${MAVEN_USER_HOME:-${HOME}/.m2}"
    MAVEN_HOME="${MAVEN_USER_HOME}/wrapper/dists/${distributionUrlNameMain-}/$(hash_string "$distributionUrl")"
    
    exec_maven() {
      unset MVNW_VERBOSE MVNW_USERNAME MVNW_PASSWORD MVNW_REPOURL || :
      exec "$MAVEN_HOME/bin/$MVN_CMD" "$@" || die "cannot exec $MAVEN_HOME/bin/$MVN_CMD"
    }
    
    if [ -d "$MAVEN_HOME" ]; then
      verbose "found existing MAVEN_HOME at $MAVEN_HOME"
      exec_maven "$@"
    fi
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Sep 25 18:22:49 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  6. 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".
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 10.7K bytes
    - Click Count (3)
  7. .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
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 04:24:24 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  8. 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
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
Back to Top