Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for RootDirectory (0.12 sec)

  1. compat/maven-model-builder/src/site/apt/index.apt

    <<<pom.baseUri>>> (<deprecated>) | the directory containing the <<<pom.xml>>> file as URI | <<<$\{project.baseUri\}>>> |
    *----+------+------+
    | <<<project.rootDirectory>>> | the project's root directory (containing a <<<.mvn>>> directory or with the <<<root="true">>> xml attribute) | <<<$\{project.rootDirectory\}>>> |
    *----+------+------+
    | <<<build.timestamp>>>\
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 03 08:42:52 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            Files.writeString(mavenUserProps, "${includes} = ?${session.rootDirectory}/.mvn/maven-user.properties\n");
            Path rootDirectory = fs.getPath("C:\\myRootDirectory");
            Path topDirectory = rootDirectory.resolve("myTopDirectory");
            Path mvn = rootDirectory.resolve(".mvn");
            Files.createDirectories(mvn);
            Files.writeString(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  3. 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())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. 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());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. 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));
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 14 12:35:44 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

        }
    
        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);
                if (rootProjectPom == null) {
                    LOGGER.info(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java

        public static Path findRoot(Path topDirectory) {
            requireNonNull(topDirectory, "topDirectory");
            Path rootDirectory =
                    ServiceLoader.load(RootLocator.class).iterator().next().findRoot(topDirectory);
            if (rootDirectory != null) {
                return getCanonicalPath(rootDirectory);
            }
            return null;
        }
    
        @Nonnull
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 13 18:30:29 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            // This is used to compute {@code session.rootDirectory} but all {@code project.rootDirectory}
            // properties will be computed through the RootLocator found in the container.
            RootLocator rootLocator =
                    ServiceLoader.load(RootLocator.class).iterator().next();
            cliRequest.rootDirectory = rootLocator.findRoot(topDirectory);
    
            //
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                Map<String, String> extra = new HashMap<>();
                extra.put("session.topDirectory", topDirectory.toString());
                if (rootDirectory != null) {
                    extra.put("session.rootDirectory", rootDirectory.toString());
                }
                return extra;
            }
        }
    
        @Override
        public InvokerRequest parseInvocation(ParserRequest parserRequest) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:39:11 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  10. apache-maven/src/assembly/maven/conf/maven-system.properties

    # system properties at the very beginning of Maven's boot process.
    #
    
    maven.installation.conf = ${maven.home}/conf
    maven.user.conf         = ${user.home}/.m2
    maven.project.conf      = ${session.rootDirectory}/.mvn
    
    # Comma-separated list of files to include.
    # Each item may be enclosed in quotes to gracefully include spaces. Items are trimmed before being loaded.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top