- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for mavenHome (0.04 sec)
-
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Jun 07 06:22:47 UTC 2025 - 15.9K bytes - Viewed (0) -
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 Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Dec 01 19:41:22 UTC 2024 - 4.1K bytes - Viewed (0) -
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) -
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");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 30.9K bytes - Viewed (0) -
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) -
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) -
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 "$@" fiRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Sep 25 18:22:49 UTC 2025 - 10.4K bytes - Viewed (0) -
maven-tests/mvnw.cmd
$MAVEN_HOME = "$MAVEN_HOME_PARENT/$MAVEN_HOME_NAME" if (Test-Path -Path "$MAVEN_HOME" -PathType Container) { Write-Verbose "found existing MAVEN_HOME at $MAVEN_HOME" Write-Output "MVN_CMD=$MAVEN_HOME/bin/$MVN_CMD" exit $? } if (! $distributionUrlNameMain -or ($distributionUrlName -eq $distributionUrlNameMain)) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Sep 25 18:22:49 UTC 2025 - 6.8K bytes - Viewed (0) -
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) -
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)