Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isRootProject (0.23 sec)

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

        }
    
        @Override
        public boolean isTopProject() {
            return getBasedir().equals(getSession().getTopDirectory());
        }
    
        @Override
        public boolean isRootProject() {
            return getBasedir().equals(getRootDirectory());
        }
    
        @Override
        public Path getRootDirectory() {
            return project.getRootDirectory();
        }
    
        @Override
    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

         * is {@code true} or that {@code basedir} contains a {@code .mvn} child
         * directory.
         *
         * @return {@code true} if the project is the root project
         * @see Model#isRoot()
         */
        boolean isRootProject();
    
        /**
         * Gets the root directory of the project, which is the parent directory
         * containing the {@code .mvn} directory or flagged with {@code root="true"}.
         *
    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

         * @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()
         */
        @Nonnull
        Path getRootDirectory();
    
        /**
         * Retrieves a list of projects associated with the session.
         *
         * @return a list of projects, never {@code null}
         */
    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