Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for getRootDirectory (0.27 seconds)

  1. 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 parent
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  2. 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)
  3. 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);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  4. 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.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

         */
        public static final String LOCAL_REPO_PROPERTY = "maven.repo.local";
    
        /**
         * @deprecated Use {@link org.apache.maven.api.Session#getRootDirectory()} instead
         */
        public static final String MULTIMODULE_PROJECT_DIRECTORY = "maven.multiModuleProjectDirectory";
    
        /**
         * @deprecated Use {@link System#getProperty(String)} with "user.home" instead
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
Back to Top