- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getTopDirectory (0.2 sec)
-
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()); } @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
} /** * @deprecated use {@link #getTopDirectory()} ()} */ @Deprecated public String getExecutionRootDirectory() { return request.getBaseDirectory(); } /** * @see MavenExecutionRequest#getTopDirectory() * @since 4.0.0 */ public Path getTopDirectory() { return request.getTopDirectory(); } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.6K bytes - Viewed (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; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (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) MavenExecutionRequest setStartTime(Date start); Date getStartTime(); // Goals
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.4K bytes - Viewed (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
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
context.userHomeDirectory = requireNonNull(getUserHomeDirectory(context)); // top/root context.topDirectory = requireNonNull(getTopDirectory(context)); context.rootDirectory = getRootDirectory(context); // options List<O> parsedOptions = parseCliOptions(context); // warn about deprecated options
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (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() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.5K bytes - Viewed (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);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java
public int getDegreeOfConcurrency() { return 0; } @Override public Instant getStartTime() { return startTime; } @Override public Path getTopDirectory() { return null; } @Override public Path getRootDirectory() { throw new IllegalStateException(); } @Override public List<Project> getProjects() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 15.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.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()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 16:43:07 UTC 2024 - 36.4K bytes - Viewed (0)