Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for getRootDirectory (0.1 seconds)

  1. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  2. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

         * @deprecated use {@link #setRootDirectory(Path)} instead
         */
        @Deprecated
        void setMultiModuleProjectDirectory(File file);
    
        /**
         * @since 3.3.0
         * @deprecated use {@link #getRootDirectory()} instead
         */
        @Deprecated
        File getMultiModuleProjectDirectory();
    
        /**
         * Sets the top directory of the project.
         *
         * @since 4.0.0
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 18.6K bytes
    - Click Count (0)
  4. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  5. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

        }
    
        @Deprecated
        @Override
        public File getMultiModuleProjectDirectory() {
            return multiModuleProjectDirectory;
        }
    
        @Override
        public Path getRootDirectory() {
            if (rootDirectory == null) {
                throw new IllegalStateException(RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE);
            }
            return rootDirectory;
        }
    
        @Override
    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)
  7. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 19 18:49:57 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top