- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for topDirectory (0.06 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java
this.startTime = requireNonNull(startTime, "startTime"); return this; } public Builder withTopDirectory(@Nonnull Path topDirectory) { this.topDirectory = requireNonNull(topDirectory, "topDirectory"); return this; } public Builder withRootDirectory(@Nullable Path rootDirectory) { this.rootDirectory = rootDirectory;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 7.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseInvokerRequest.java
this.userHomeDirectory = requireNonNull(userHomeDirectory); this.userProperties = requireNonNull(userProperties); this.systemProperties = requireNonNull(systemProperties); this.topDirectory = requireNonNull(topDirectory); this.rootDirectory = rootDirectory; this.coreExtensions = coreExtensions; this.ciInfo = ciInfo; this.options = options; } @Override
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 4.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java
case ERROR -> Logger.LEVEL_ERROR; }; } @Nullable public static Path findRoot(Path topDirectory) { requireNonNull(topDirectory, "topDirectory"); Path rootDirectory = ServiceLoader.load(RootLocator.class).iterator().next().findRoot(topDirectory); if (rootDirectory != null) { return getCanonicalPath(rootDirectory); } return null;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 13 18:30:29 GMT 2025 - 5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
} else if (Files.isRegularFile(path)) { topDirectory = path.getParent(); if (!Files.isDirectory(topDirectory)) { throw new IllegalArgumentException("Directory " + topDirectory + " extracted from the -f/--file command-line argument " + arg + " does not exist"); } } else {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:39:11 GMT 2025 - 25.5K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
topDirectory = path; } else if (Files.isRegularFile(path)) { topDirectory = path.getParent(); if (!Files.isDirectory(topDirectory)) { System.err.println("Directory " + topDirectory + " extracted from the -f/--file command-line argument " + arg + " does not exist"); throw new ExitException(1);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 78.1K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 30.9K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java
* This is typically the directory containing the POM file being executed. * * @return the top-level directory path */ @Nonnull Path topDirectory(); /** * Returns the root directory of the Maven invocation, if found. This is determined by the presence of aCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 6.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java
this.options = options; this.logger = invokerRequest.parserRequest().logger(); Map<String, String> user = new HashMap<>(invokerRequest.userProperties()); user.put("session.topDirectory", invokerRequest.topDirectory().toString()); if (invokerRequest.rootDirectory().isPresent()) { user.put( "session.rootDirectory", invokerRequest.rootDirectory().get().toString());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 5.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java
// maven requires this to be set; so default it (and see below at POM) request.setMultiModuleProjectDirectory( context.invokerRequest.topDirectory().toFile()); request.setRootDirectory(context.invokerRequest.topDirectory()); } request.setToolchains( Optional.ofNullable(context.effectiveToolchains).map(PersistedToolchains::getToolchains).stream()
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 11 17:20:46 GMT 2025 - 28.2K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java
when(request.installationDirectory()).thenReturn(Paths.get("/maven")); when(request.userHomeDirectory()).thenReturn(Paths.get("/home/user")); when(request.topDirectory()).thenReturn(workingDirectory); when(request.rootDirectory()).thenReturn(Optional.empty()); when(request.userProperties()).thenReturn(Map.of()); when(request.systemProperties()).thenReturn(Map.of());
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 8.9K bytes - Click Count (0)