Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 31 for RootDirectory (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         * from outside a checkout).
         *
         * @return the root directory path, if present
         */
        @Nonnull
        Optional<Path> rootDirectory();
    
        /**
         * Returns the input stream for the Maven execution, if running in embedded mode.
         *
         * @return an {@link Optional} containing the input stream, or empty if not applicable
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. 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.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

         * @since 4.0.0
         */
        Path getTopDirectory();
    
        /**
         * Sets the root directory of the project.
         *
         * @since 4.0.0
         */
        MavenExecutionRequest setRootDirectory(Path rootDirectory);
    
        /**
         * Gets the root directory of the top project, which is the parent directory containing the {@code .mvn}
         * directory or a {@code pom.xml} file with the {@code root="true"} attribute.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 18.6K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

        }
    
        /**
         * Returns a boolean indicating if the project is the top level project for
         * this reactor build.  The top level project may be different from the
         * {@code rootDirectory}, especially if a subtree of the project is being
         * built, either because Maven has been launched in a subdirectory or using
         * a {@code -f} option.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  5. build-logic-settings/version-catalogs/src/main/kotlin/gradlebuild.version-catalogs.settings.gradle.kts

     * limitations under the License.
     */
    
    dependencyResolutionManagement {
        val root = if (rootProject.name.startsWith("build-logic")) {
            layout.rootDirectory.dir("..")
        } else {
            layout.rootDirectory
        }
        val basePath = root.dir("gradle").dir("dependency-management")
        versionCatalogs {
            create("libs") {
                from(files(basePath.file("distribution.versions.toml")))
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 09:06:26 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

            assertActivation(true, newExistsProfile("${project.rootDirectory}/" + "file.txt"), context);
            assertActivation(false, newMissingProfile("${project.rootDirectory}"), context);
            assertActivation(false, newMissingProfile("${project.rootDirectory}/" + "file.txt"), context);
        }
    
        @Test
        void testIsActiveNoFileWithShortBasedir() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. .mvn/maven.config

    -DsessionRootDirectory=${session.rootDirectory}...
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 24 06:47:28 GMT 2026
    - 48 bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

            user.put("session.topDirectory", invokerRequest.topDirectory().toString());
            if (invokerRequest.rootDirectory().isPresent()) {
                user.put(
                        "session.rootDirectory",
                        invokerRequest.rootDirectory().get().toString());
            }
            this.protoSession = ProtoSession.newBuilder()
                    .withSystemProperties(invokerRequest.systemProperties())
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java

        }
    
        @Test
        void specials() {
            InvokerRequest invokerRequest = subject.parseInvocation(ParserRequest.mvn(
                            Arrays.asList("-Dfoo=${session.rootDirectory}", "-X"), mock(MessageBuilderFactory.class))
                    .cwd(Path.of(System.getProperty("userDir")))
                    .userHome(Path.of(System.getProperty("userHome")))
                    .build());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenParser.java

                    throw new IllegalArgumentException("Specified file does not exists (" + file + ")");
                }
            }
            // maven.config; if exists
            Path mavenConfig = context.rootDirectory != null ? context.rootDirectory.resolve(".mvn/maven.config") : null;
            if (mavenConfig != null && Files.isRegularFile(mavenConfig)) {
                result.add(parseMavenConfigOptions(mavenConfig));
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 14 12:35:44 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top