Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for mavenHome (0.06 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java

    class MavenPropertiesLoaderTest {
    
        @Test
        void testIncludes() throws Exception {
            FileSystem fs = Jimfs.newFileSystem(Configuration.unix());
    
            Path mavenHome = fs.getPath("/maven");
            Files.createDirectories(mavenHome);
            Path mavenConf = mavenHome.resolve("conf");
            Files.createDirectories(mavenConf);
            Path mavenUserProps = mavenConf.resolve("maven.properties");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
Back to top