Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for getRootDirectory (0.47 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

        }
    
        private InputSource getSource(Map<String, ?> options) {
            Object value = (options != null) ? options.get(INPUT_SOURCE) : null;
            return (InputSource) value;
        }
    
        private Path getRootDirectory(Map<String, ?> options) {
            Object value = (options != null) ? options.get(ROOT_DIRECTORY) : null;
            return (Path) value;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. 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)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

                            }
                        }
                    }
                }
    
                private void doLoadFullReactor() {
                    Path rootDirectory = request.getRootDirectory();
                    if (rootDirectory == null) {
                        return;
                    }
                    List<Path> toLoad = new ArrayList<>();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                    return null;
                }
    
                if (importSource instanceof FileModelSource && request.getRootDirectory() != null) {
                    Path sourcePath = ((FileModelSource) importSource).getPath();
                    if (sourcePath.startsWith(request.getRootDirectory())) {
                        problems.add(new ModelProblemCollectorRequest(Severity.WARNING, ModelProblem.Version.BASE)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  9. 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