- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for getRootDirectory (0.06 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java
* @throws IllegalStateException if the root directory could not be found * @see #getTopDirectory() * @see Project#getRootDirectory() * @see Project#isRootProject() */ @Nonnull Path getRootDirectory(); /** * Returns a proto session builder of this instance. */ @Nonnull default Builder toBuilder() { try { return new Builder(Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 7.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
} } else if (cliRequest.getRootDirectory() != null) { projectSettingsFile = DEFAULT_PROJECT_SETTINGS_FILE; projectSettingsFile = resolveFile( projectSettingsFile, cliRequest.getRootDirectory().toString()); } else { projectSettingsFile = null; }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 19 18:49:57 UTC 2025 - 12K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java
} @Override public boolean isRootProject() { return getBasedir().equals(getRootDirectory()); } @Override public Path getRootDirectory() { return project.getRootDirectory(); } @Override public Optional<Project> getParent() { MavenProject parent = project.getParent();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Mar 24 22:23:23 UTC 2025 - 8.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
@Nonnull @Override public Instant getStartTime() { return getMavenSession().getRequest().getStartInstant(); } @Override public Path getRootDirectory() { return getMavenSession().getRequest().getRootDirectory(); } @Override public Path getTopDirectory() { return getMavenSession().getRequest().getTopDirectory(); } @Nonnull @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 8.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java
/** * An XML reader request. * * @since 4.0.0 */ @Experimental @Immutable public interface XmlReaderRequest { @Nullable Path getPath(); @Nullable Path getRootDirectory(); @Nullable URL getURL(); @Nullable InputStream getInputStream(); @Nullable Reader getReader(); @Nullable Transformer getTransformer();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Aug 29 12:46:27 UTC 2025 - 6.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
* * @return the root directory of the project * @throws IllegalStateException if the root directory could not be found * @see Session#getRootDirectory() */ @Nonnull Path getRootDirectory(); /** * Returns project parent project, if any. * <p> * Note that the model may have a parent defined, but an empty parentRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 07 13:11:07 UTC 2025 - 15.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java
parameterInactiveOptionalProjects.forEach(projectActivation::deactivateOptionalProject); when(mavenExecutionRequest.getRootDirectory()).thenReturn(Paths.get(".")); when(mavenExecutionRequest.getProjectActivation()).thenReturn(projectActivation); when(mavenExecutionRequest.getMakeBehavior()).thenReturn(parameterMakeBehavior);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 09 20:39:03 UTC 2025 - 28K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java
return Collections.emptyList(); } throw e; } } private File getRootProject(MavenExecutionRequest request) { Path rootDirectory = request.getRootDirectory(); if (request.getPom().getParentFile().toPath().equals(rootDirectory)) { return request.getPom(); } else { Path rootProjectPom = modelProcessor.locateExistingPom(rootDirectory);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 9.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
context.topDirectory = context.cwd; parserRequest.logger().error("Error determining top directory", e); } try { context.rootDirectory = getRootDirectory(context); } catch (Exception e) { context.parsingFailed = true; context.rootDirectory = context.cwd; parserRequest.logger().error("Error determining root directory", e);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 10 07:39:11 UTC 2025 - 25.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
break; } } return packaged; } private Path relativizeOutputFile(final Path outputFile) { Path rootDirectory = session.getRequest().getRootDirectory(); return rootDirectory.relativize(outputFile); } /** * Tries to resolve the specified artifact from the artifacts of the given project. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Dec 15 11:20:38 UTC 2025 - 24.4K bytes - Viewed (0)