- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 441 for userHome (0.14 sec)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java
subject.parseInvocation(ParserRequest.mvn(Arrays.asList("-e", "-X"), mock(MessageBuilderFactory.class)) .cwd(Path.of(System.getProperty("userDir"))) .userHome(Path.of(System.getProperty("userHome"))) .build()); Assertions.assertTrue(invokerRequest.options().isPresent()); Options options = invokerRequest.options().orElseThrow();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 4.2K bytes - Viewed (0) -
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) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTest.java
} @Test void defaultFs( @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path cwd, @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path userHome) throws Exception { invoke(cwd, userHome, List.of("verify"), List.of()); } @Disabled("Enable it when fully moved to NIO2 with Path/Filesystem (ie MavenExecutionRequest)") @Test void jimFs() throws Exception {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Oct 21 12:17:55 UTC 2025 - 9.3K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java
Files.createDirectories(appJava.getParent()); Files.writeString(appJava, APP_JAVA_STRING); if (MimirInfuser.isMimirPresentUW()) { MimirInfuser.doInfuseUW(userHome); MimirInfuser.preseedItselfIntoInnerUserHome(userHome); } HashMap<String, String> logs = new HashMap<>(); Parser parser = createParser(); try (ClassWorld classWorld = createClassWorld();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Oct 21 12:17:55 UTC 2025 - 6.8K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvokerTest.java
} @Test void defaultFs( @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path cwd, @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path userHome) throws Exception { invoke(cwd, userHome, List.of("verify"), List.of()); } @Disabled("Enable it when fully moved to NIO2 with Path/Filesystem (ie MavenExecutionRequest)") @Test void jimFs() throws Exception {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 10:47:37 UTC 2025 - 2.5K bytes - Viewed (0) -
compat/maven-settings/src/main/java/org/apache/maven/settings/RuntimeInfo.java
* */ @Deprecated public class RuntimeInfo { @SuppressWarnings("checkstyle:constantname") public static final String userHome = System.getProperty("user.home"); @SuppressWarnings("checkstyle:constantname") public static final File userMavenConfigurationHome = new File(userHome, ".m2"); public static final File DEFAULT_USER_SETTINGS_FILE = new File(userMavenConfigurationHome, "settings.xml");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 1.6K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java
public static class AdditionState { List<Path> poms; @Setup(Level.Iteration) public void setUp() throws IOException { Path userHome = Paths.get(System.getProperty("user.home")); poms = Files.walk(userHome.resolve(".m2/repository/org/apache/maven")) .filter(p -> p.getFileName().toString().endsWith(".pom")) .collect(Collectors.toList()); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 3.3K bytes - Viewed (0) -
impl/maven-cli/pom.xml
<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> </plugin> </plugins> </build>
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-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java
String DEFAULT_LOCAL_REPO_ID = MavenRepositorySystem.DEFAULT_LOCAL_REPO_ID; @SuppressWarnings("checkstyle:constantname") String userHome = System.getProperty("user.home"); @SuppressWarnings("checkstyle:constantname") File userMavenConfigurationHome = new File(userHome, ".m2"); @SuppressWarnings("checkstyle:constantname") File defaultUserLocalRepository = new File(userMavenConfigurationHome, "repository");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.7K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
return result; } } protected Path getUserHomeDirectory(LocalContext context) { if (context.parserRequest.userHome() != null) { Path result = getCanonicalPath(context.parserRequest.userHome()); context.systemPropertiesOverrides.put("user.home", result.toString()); return result; } else {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 10 07:39:11 UTC 2025 - 25.5K bytes - Viewed (0)