Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getRootDirectory (0.11 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

                }
            } else if (cliRequest.getRootDirectory() != null) {
                projectSettingsFile = DEFAULT_PROJECT_SETTINGS_FILE;
                projectSettingsFile = resolveFile(
                        projectSettingsFile, cliRequest.getRootDirectory().toString());
            } else {
                projectSettingsFile = null;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

         */
        public Path getTopDirectory() {
            return request.getTopDirectory();
        }
    
        /**
         * @see MavenExecutionRequest#getRootDirectory()
         * @since 4.0.0
         */
        public Path getRootDirectory() {
            return request.getRootDirectory();
        }
    
        public MavenExecutionRequest getRequest() {
            return request;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

            setWorkspaceModelResolver(request.getWorkspaceModelResolver());
            setTransformerContextBuilder(request.getTransformerContextBuilder());
            setRootDirectory(request.getRootDirectory());
        }
    
        @Deprecated
        @Override
        public File getPomFile() {
            return pomPath != null ? pomPath.toFile() : null;
        }
    
        @Override
        public Path getPomPath() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            context.userHomeDirectory = requireNonNull(getUserHomeDirectory(context));
    
            // top/root
            context.topDirectory = requireNonNull(getTopDirectory(context));
            context.rootDirectory = getRootDirectory(context);
    
            // options
            List<O> parsedOptions = parseCliOptions(context);
    
            // warn about deprecated options
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * @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}
         */
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

        public Instant getStartTime() {
            return startTime;
        }
    
        @Override
        public Path getTopDirectory() {
            return null;
        }
    
        @Override
        public Path getRootDirectory() {
            throw new IllegalStateException();
        }
    
        @Override
        public List<Project> getProjects() {
            return List.of();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

        TransformerContextBuilder getTransformerContextBuilder();
    
        ModelBuildingRequest setTransformerContextBuilder(TransformerContextBuilder contextBuilder);
    
        Path getRootDirectory();
    
        ModelBuildingRequest setRootDirectory(Path rootDirectory);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  10. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
Back to top