Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isTopProject (0.08 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

                return new MappedList<>(dependencyManagement.getDependencies(), this::toDependency);
            }
            return Collections.emptyList();
        }
    
        @Override
        public boolean isTopProject() {
            return getBasedir().equals(getSession().getTopDirectory());
        }
    
        @Override
        public boolean isRootProject() {
            return getBasedir().equals(getRootDirectory());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * built, either because Maven has been launched in a subdirectory or using
         * a {@code -f} option.
         *
         * @return {@code true} if the project is the top level project for this build
         */
        boolean isTopProject();
    
        /**
         * Returns a boolean indicating if the project is a root project,
         * meaning that the {@link #getRootDirectory()} and {@link #getBasedir()}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * directory pointed at by the {@code -f/--file} command line argument.
         *
         * @return the directory of the topmost project, never {@code null}
         * @see Project#isTopProject()
         * @see #getRootDirectory()
         */
        @Nonnull
        Path getTopDirectory();
    
        /**
         * Gets the root directory of the session, which is the root directory for the top directory project.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top