Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for getTopDirectory (0.06 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 Dec 28 03:35:09 GMT 2025
    - 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

                    if (location.contains("://")) {
                        stringBuilder.append(" (").append(location).append(")");
                    } else {
                        Path topDirectory = mavenSession.getTopDirectory();
                        Path locationPath = Paths.get(location).toAbsolutePath().normalize();
                        if (locationPath.startsWith(topDirectory)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:32 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  4. 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 Dec 28 03:35:09 GMT 2025
    - 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/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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  6. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
Back to Top