- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for getTopDirectory (0.14 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java
* @see #getRootDirectory() */ @Nonnull Path getTopDirectory(); /** * Gets the root directory of the session, which is the root directory for the top directory project. * * @return the root directory, never {@code null} * @throws IllegalStateException if the root directory could not be found * @see #getTopDirectory() * @see Project#getRootDirectory() * @see Project#isRootProject()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-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
} @Override public Path getRootDirectory() { return getMavenSession().getRequest().getRootDirectory(); } @Override public Path getTopDirectory() { return getMavenSession().getRequest().getTopDirectory(); } @Nonnull @Override public List<Project> getProjects() { return getProjects(getMavenSession().getProjects()); } @NonnullCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.9K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CliRequest.java
this.userProperties.putAll(properties); } public Path getRootDirectory() { return rootDirectory; } public Path getTopDirectory() { return topDirectory; }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 2.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java
/** * @deprecated use {@link #setTopDirectory(Path)} instead */ @Deprecated MavenExecutionRequest setBaseDirectory(File basedir); /** * @deprecated use {@link #getTopDirectory()} instead */ @Deprecated String getBaseDirectory(); // Timing (remove this) @Deprecated MavenExecutionRequest setStartTime(Date start); @DeprecatedCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 18.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java
} return Collections.emptyList(); } @Override public boolean isTopProject() { return getBasedir().equals(getSession().getTopDirectory()); } @Override public boolean isRootProject() { return getBasedir().equals(getRootDirectory()); } @Override public Path getRootDirectory() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Mar 24 22:23:23 GMT 2025 - 8.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
parserRequest.logger().error("Error determining user home directory", e); } // top/root try { context.topDirectory = getTopDirectory(context); } catch (Exception e) { context.parsingFailed = true; context.topDirectory = context.cwd; parserRequest.logger().error("Error determining top directory", e);
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) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
@Override public MavenExecutionRequest setRootDirectory(Path rootDirectory) { this.rootDirectory = rootDirectory; return this; } @Override public Path getTopDirectory() { return topDirectory; } @Override public MavenExecutionRequest setTopDirectory(Path topDirectory) { this.topDirectory = topDirectory; return this; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 32.1K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java
when(rootProject.getBasedir()).thenReturn(basedir); MavenSession session = mock(MavenSession.class); when(session.getTopLevelProject()).thenReturn(rootProject); when(session.getTopDirectory()).thenReturn(basedir.toPath()); when(event.getSession()).thenReturn(session); // execute executionEventLogger.projectStarted(event); // verify
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Dec 01 19:41:22 GMT 2024 - 12.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java
throw new MissingProjectException("The goal you specified requires a project to execute" + " but there is no POM in this directory (" + session.getTopDirectory() + ")." + " Please verify you invoked Maven from the correct directory."); } List<TaskSegment> taskSegments = calculateTaskSegments(session);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.3K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
if (currentPom != null) { MavenSession session = event.getSession(); Path current = currentPom.toPath().toAbsolutePath().normalize(); Path topDirectory = session.getTopDirectory(); if (topDirectory != null && current.startsWith(topDirectory)) { current = topDirectory.relativize(current); } logger.info(" from " + current);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 17.2K bytes - Click Count (0)