- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 17 for getRootDirectory (0.09 seconds)
-
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(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 7.5K bytes - Click Count (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; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 19 18:49:57 GMT 2025 - 12K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultSessionTest.java
assertEquals( RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE, assertThrows(IllegalStateException.class, session::getRootDirectory) .getMessage()); } @Test void testRootDirectory() { RepositorySystemSession rss = new DefaultRepositorySystemSession(h -> false);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.6K bytes - Click Count (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();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Mar 24 22:23:23 GMT 2025 - 8.7K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CliRequest.java
return request; } public void setUserProperties(Properties properties) { this.userProperties.putAll(properties); } public Path getRootDirectory() { return rootDirectory; } public Path getTopDirectory() { return topDirectory; }Created: Sun Dec 28 03:35:09 GMT 2025 - 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/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 @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
*/ public Path getTopDirectory() { return request.getTopDirectory(); } /** * @see MavenExecutionRequest#getRootDirectory() * @since 4.0.0 */ public Path getRootDirectory() { return request.getRootDirectory(); } public MavenExecutionRequest getRequest() { return request; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 16.7K bytes - Click Count (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();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Aug 29 12:46:27 GMT 2025 - 6.8K bytes - Click Count (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 parentCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 07 13:11:07 GMT 2025 - 15.3K bytes - Click Count (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);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 09 20:39:03 GMT 2025 - 28K bytes - Click Count (0)