Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for getTopDirectory (0.11 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. compat/maven-embedder/src/main/java/org/apache/maven/cli/CliRequest.java

            this.userProperties.putAll(properties);
        }
    
        public Path getRootDirectory() {
            return rootDirectory;
        }
    
        public Path getTopDirectory() {
            return topDirectory;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

            }
            return Collections.emptyList();
        }
    
        @Override
        public boolean isTopProject() {
            return getBasedir().equals(getSession().getTopDirectory());
        }
    
        @Override
        public boolean isRootProject() {
            return getBasedir().equals(getRootDirectory());
        }
    
        @Override
        public Path getRootDirectory() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  5. 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