Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for getTopDirectory (0.07 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.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()
         * @see Project#isRootProject()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. 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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                parserRequest.logger().error("Error determining user home directory", e);
            }
    
            // top/root
            try {
                context.topDirectory = getTopDirectory(context);
            } catch (Exception e) {
                context.parsingFailed = true;
                context.topDirectory = context.cwd;
                parserRequest.logger().error("Error determining top 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)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java

                    throw new MissingProjectException("The goal you specified requires a project to execute"
                            + " but there is no POM in this directory (" + session.getTopDirectory() + ")."
                            + " Please verify you invoked Maven from the correct directory.");
                }
    
                List<TaskSegment> taskSegments = calculateTaskSegments(session);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
Back to Top