Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for getRootDirectory (0.59 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

         * @deprecated use {@link #setRootDirectory(Path)} instead
         */
        @Deprecated
        void setMultiModuleProjectDirectory(File file);
    
        /**
         * @since 3.3.0
         * @deprecated use {@link #getRootDirectory()} instead
         */
        @Deprecated
        File getMultiModuleProjectDirectory();
    
        /**
         * Sets the top directory of the project.
         *
         * @since 4.0.0
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

                    return Collections.emptyList();
                }
    
                throw e;
            }
        }
    
        private File getRootProject(MavenExecutionRequest request) {
            Path rootDirectory = request.getRootDirectory();
            if (request.getPom().getParentFile().toPath().equals(rootDirectory)) {
                return request.getPom();
            } else {
                Path rootProjectPom = modelProcessor.locateExistingPom(rootDirectory);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                context.topDirectory = context.cwd;
                parserRequest.logger().error("Error determining top directory", e);
            }
            try {
                context.rootDirectory = getRootDirectory(context);
            } catch (Exception e) {
                context.parsingFailed = true;
                context.rootDirectory = context.cwd;
                parserRequest.logger().error("Error determining root directory", e);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:39:11 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                        break;
                }
            }
            return packaged;
        }
    
        private Path relativizeOutputFile(final Path outputFile) {
            Path rootDirectory = session.getRequest().getRootDirectory();
            return rootDirectory.relativize(outputFile);
        }
    
        /**
         * Tries to resolve the specified artifact from the artifacts of the given project.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:20:38 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

        }
    
        @Deprecated
        @Override
        public File getMultiModuleProjectDirectory() {
            return multiModuleProjectDirectory;
        }
    
        @Override
        public Path getRootDirectory() {
            if (rootDirectory == null) {
                throw new IllegalStateException(RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE);
            }
            return rootDirectory;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

         */
        public static final String LOCAL_REPO_PROPERTY = "maven.repo.local";
    
        /**
         * @deprecated Use {@link org.apache.maven.api.Session#getRootDirectory()} instead
         */
        public static final String MULTIMODULE_PROJECT_DIRECTORY = "maven.multiModuleProjectDirectory";
    
        /**
         * @deprecated Use {@link System#getProperty(String)} with "user.home" instead
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        }
    
        /**
         * @since 4.0.0
         * @return the rootDirectory for this project
         * @throws IllegalStateException if the rootDirectory cannot be found
         */
        public Path getRootDirectory() {
            if (rootDirectory == null) {
                throw new IllegalStateException(RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE);
            }
            return rootDirectory;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
Back to top